mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Fixes #36 Don't use invokeBody for HTML comments tag
This commit is contained in:
parent
2552deb44b
commit
cb3648328d
@ -1,8 +1,8 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
module.exports = function render(input, out) {
|
module.exports = function render(input, out) {
|
||||||
out.write('<!--');
|
out.write('<!--');
|
||||||
if (input.invokeBody) {
|
if (input.renderBody) {
|
||||||
input.invokeBody();
|
input.renderBody(out);
|
||||||
}
|
}
|
||||||
out.write('-->');
|
out.write('-->');
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user