diff options
Diffstat (limited to 'js/lib/html-renderer.js')
-rw-r--r-- | js/lib/html-renderer.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/lib/html-renderer.js b/js/lib/html-renderer.js index faf5231..e55b103 100644 --- a/js/lib/html-renderer.js +++ b/js/lib/html-renderer.js @@ -103,7 +103,8 @@ var renderBlock = function(block, in_tight_list) { return inTags(tag, attr, this.innersep + this.renderBlocks(block.children, block.tight) + this.innersep); - case 'Header': + case 'ATXHeader': + case 'SetextHeader': tag = 'h' + block.level; return inTags(tag, [], this.renderInlines(block.inline_content)); case 'IndentedCode': |