aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-02-08 20:16:50 +0000
committerMichael Williamson <mike@zwobble.org>2015-02-08 20:16:50 +0000
commit43c6b4c065d6581b93ae0e8a6dec673e6e029840 (patch)
treee367251fff84af6bd0b265fa9c175a93b17da2f6 /mammoth
parentee74fc4866ee91741913c7bbfdb467ba46f10f11 (diff)
Handle em elements in markdown writer
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/writers/markdown.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mammoth/writers/markdown.py b/mammoth/writers/markdown.py
index 45690a6..8830277 100644
--- a/mammoth/writers/markdown.py
+++ b/mammoth/writers/markdown.py
@@ -21,6 +21,7 @@ def _init_writers():
"p": _Wrapped("", "\n\n"),
"br": _Wrapped("", " \n"),
"strong": _symmetric_wrapped("__"),
+ "em": _symmetric_wrapped("*"),
}
for level in range(1, 7):