aboutsummaryrefslogtreecommitdiff
path: root/mammoth/underline.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-07-18 15:21:47 +0100
committerMichael Williamson <mike@zwobble.org>2014-07-18 15:21:47 +0100
commit89e0fe2ffb65babcb0a09d384c4dcb3d1c411a2d (patch)
treefdc3096e291144381e5c0c4d71e45624ccc7b0ad /mammoth/underline.py
parent0b4abd3026ac77d8b7ea4f9adde759ca90abc2f6 (diff)
Add support for optional underline conversion
Diffstat (limited to 'mammoth/underline.py')
-rw-r--r--mammoth/underline.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mammoth/underline.py b/mammoth/underline.py
new file mode 100644
index 0000000..bb7d270
--- /dev/null
+++ b/mammoth/underline.py
@@ -0,0 +1,5 @@
+def element(name):
+ def convert_underline(html_generator):
+ html_generator.start(name)
+
+ return convert_underline