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';
|
||||
module.exports = function render(input, out) {
|
||||
out.write('<!--');
|
||||
if (input.invokeBody) {
|
||||
input.invokeBody();
|
||||
if (input.renderBody) {
|
||||
input.renderBody(out);
|
||||
}
|
||||
out.write('-->');
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user