|
@ -48,7 +48,7 @@ module.exports = function htmlblock(state, startLine, endLine, silent) { |
|
|
if (!match) { return false; } |
|
|
if (!match) { return false; } |
|
|
} |
|
|
} |
|
|
// Make sure tag name is valid
|
|
|
// Make sure tag name is valid
|
|
|
if (block_names.indexOf(match[1].toLowerCase()) < 0) { return false; } |
|
|
if (block_names[match[1].toLowerCase()] !== true) { return false; } |
|
|
if (silent) { return true; } |
|
|
if (silent) { return true; } |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|