zerobase / enml2md

Evernote to Markdown Converter
MIT License
34 stars 4 forks source link

Parsing ToDo Items #5

Open AddoSolutions opened 9 years ago

AddoSolutions commented 9 years ago

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 commented 9 years ago

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