enml2md icon indicating copy to clipboard operation
enml2md copied to clipboard

Parsing ToDo Items

Open AddoSolutions opened this issue 10 years ago • 1 comments

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…

AddoSolutions avatar Apr 10 '15 17:04 AddoSolutions

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

AddoSolutions avatar Apr 10 '15 18:04 AddoSolutions