diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-06-17 14:33:43 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-06-17 14:33:43 +0100 |
| commit | 17577bdd715c65e71d81f762b54b8c27f60f4535 (patch) | |
| tree | 5389d7741881b2d198daf450f915fa9b3527f7e7 /lib/html-generator.js | |
| parent | dc31bacddd43e100a2793c76e26d35568262d89a (diff) | |
Support underlines in style map
Diffstat (limited to 'lib/html-generator.js')
| -rw-r--r-- | lib/html-generator.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/html-generator.js b/lib/html-generator.js index a071a5e..a20a714 100644 --- a/lib/html-generator.js +++ b/lib/html-generator.js @@ -43,6 +43,10 @@ function HtmlGenerator(options) { } } + function appendPath(style) { + style.forEach(open); + } + function stylePartMatchesStackElement(stylePart, stackElement) { return stackElement && stylePart.matchesElement(stackElement); } @@ -86,6 +90,7 @@ function HtmlGenerator(options) { return { satisfyPath: satisfyPath, + appendPath: appendPath, text: text, open: open, close: close, |
