Describe the bug
Bug in 0.8.1. In version 0.8.0 everything works fine.
(node:17048) UnhandledPromiseRejectionWarning: TypeError: this.renderer.html is not a function
Please report this to https://github.com/markedjs/marked.
at InlineLexer.output (C:\Users\XYZ\workspace\node_modules\marked\src\InlineLexer.js:85:30)
at Parser.tok (C:\Users\XYZ\workspace\node_modules\marked\src\Parser.js:97:36)
at Parser.parse (C:\Users\XYZ\workspace\node_modules\marked\src\Parser.js:47:19)
at Function.parse (C:\Users\XYZ\workspace\node_modules\marked\src\Parser.js:30:19)
at marked (C:\Users\XYZ\workspace\node_modules\marked\src\marked.js:103:19)
What markdown are you sending to marked?
The easiest way for us to debug is to provide a link to a demo that demonstrates the error.
This code leads to the error:
## internal header <!-- internal -->

While this code for example works:
* line one
* line two <!-- internal -->
* line three <!-- internal -->
* line four
Thanks! I confirmed this is a regression in 0.8.1 and works correctly in 0.8.0.
Any html comment in a heading causes the error, the simplest markdown being:
# <!---->
Most helpful comment
This code leads to the error:
While this code for example works: