We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff0a92 commit 99c0281Copy full SHA for 99c0281
lib/index.js
@@ -155,7 +155,7 @@ module.exports = function postHTMLExpressions (options) {
155
156
// kick off the parsing
157
return function (tree) {
158
- return normalizeTree(clearRawTag(walk({ locals: options.locals }, tree)))
+ return normalizeTree(clearRawTag(walk({ locals: options.locals }, tree)), tree.options)
159
}
160
161
@@ -414,6 +414,6 @@ function clearRawTag (tree) {
414
return m
415
}, [])
416
417
-function normalizeTree (tree) {
418
- return parser(render(tree))
+function normalizeTree (tree, options) {
+ return parser(render(tree), options)
419
0 commit comments