Fixes #36 Don't use invokeBody for HTML comments tag

This commit is contained in:
Patrick Steele-Idem 2015-02-23 17:10:42 -07:00
parent 2552deb44b
commit cb3648328d

View File

@ -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('-->');
};