aboutsummaryrefslogtreecommitdiff
path: root/lib/html-generator.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/html-generator.js')
-rw-r--r--lib/html-generator.js5
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,