From e2a87dbda6d32200b5fa68ba2f5e48aa526499f2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 12 Dec 2013 21:37:50 +0000 Subject: Add reading of single-element HTML paths --- mammoth/style_reader.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 mammoth/style_reader.py (limited to 'mammoth/style_reader.py') diff --git a/mammoth/style_reader.py b/mammoth/style_reader.py new file mode 100644 index 0000000..18c848d --- /dev/null +++ b/mammoth/style_reader.py @@ -0,0 +1,5 @@ +from . import html_paths + + +def read_html_path(string): + return html_paths.path([html_paths.element(string)]) -- cgit v1.2.3