diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-10 15:30:57 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-10 15:30:57 -0800 |
commit | 94cd37405040b27ab20c2f373c08e61170365ff3 (patch) | |
tree | f2da41f6325040b025bc319bb94359784138bd9b /js/lib | |
parent | c772cd9c1b55f46306260977835f8d315275ee94 (diff) |
HTML renderer: throw error on unknown tag type.
This indicates a programming error.
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/html.js b/js/lib/html.js index 928964e..08daa95 100644 --- a/js/lib/html.js +++ b/js/lib/html.js @@ -225,7 +225,7 @@ var renderNodes = function(block, options) { break; default: - console.log("Unknown node type " + node.t); + throw("Unknown node type " + node.t); } } |