enml2md
enml2md copied to clipboard
Parsing ToDo Items
It looks like there is an issue wwith ToDo Items:
/Users/Nitrx/Desktop/enml2md/node_modules/html2markdown/markdown_html_parser.js:139
throw "Parse Error: " + html;
^
Parse Error: <en-todo></en-todo>Look at…
It appears to be because there is a dash in that <en-todo>.
I added:
html = html.replace(/en-todo/g,"entodo");
In your HTMLParser