aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-25 18:13:40 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-25 18:13:40 +0000
commita421095a232f2ef3ef923200feb2f16c78e7be08 (patch)
treefac63b0942e13898315f2b9998059a6816860d1a
parentc2bf9be74a1f2578dcdb4fa63e595219333036b3 (diff)
Remove documentation for deprecated convert_underline option
-rw-r--r--README.md10
1 files changed, 0 insertions, 10 deletions
diff --git a/README.md b/README.md
index f8d5778..53d338d 100644
--- a/README.md
+++ b/README.md
@@ -183,13 +183,6 @@ with open("document.docx", "rb") as docx_file:
result = mammoth.convert_to_html(docx_file, style_map=style_map)
```
-The `convert_underline` argument is deprecated, and will be removed in Mammoth 1.0.
-The following behaves as the example above:
-
-```python
-mammoth.convert_to_html(docx_file, convert_underline=mammoth.underline.element("em"))
-```
-
#### Strikethrough
By default, strikethrough text is wrapped in `<s>` tags.
@@ -222,9 +215,6 @@ Converts the source document to HTML.
* `convert_image`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute.
Set this argument to an [image converter](#image-converters) to override the default behaviour.
-* `convert_underline`: deprecated in favour of using style mappings to describe how to convert underlined text.
- Set this argument to [`mammoth.underline.element(name)`](#underline) to override the default behaviour.
-
* `ignore_empty_paragraphs`: by default, empty paragraphs are ignored.
Set this option to `False` to preserve empty paragraphs in the output.