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 9327c7e commit 3cfc5c6Copy full SHA for 3cfc5c6
test/test.js
@@ -152,12 +152,16 @@ describe('PostHTML-Parser test', function() {
152
]
153
};
154
155
- var html = '<!doctype html><html><?php echo \"Hello word\"; ?></html>';
+ var html = '<!doctype html><header><?php echo \"Hello word\"; ?></header><body>{{%njk test %}}</body>';
156
var tree = [
157
'<!doctype html>',
158
{
159
content: ['<?php echo \"Hello word\"; ?>'],
160
- tag: 'html'
+ tag: 'header'
161
+ },
162
+ {
163
+ content: ['{{%njk test %}}'],
164
+ tag: 'body'
165
}
166
];
167
0 commit comments