From 2f8bd9edc77b8508203e221ad96c79f516205d92 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 29 Nov 2016 22:15:17 +0000 Subject: Pass separator from HTML path to element --- mammoth/html_paths.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mammoth/html_paths.py b/mammoth/html_paths.py index e4f6c31..8f79d72 100644 --- a/mammoth/html_paths.py +++ b/mammoth/html_paths.py @@ -46,7 +46,9 @@ class HtmlPathElement(object): self.names, attributes, nodes, - collapsible=not self.fresh) + collapsible=not self.fresh, + separator=self.separator, + ) return [element] empty = path([]) -- cgit v1.2.3