No highlighting when importing ENEX to Markdown

I just tried importing some notes from Evernote to Joplin as Markdown, and the most problematic issue is that lack of importing of highlights. I'm a massive fan of Joplin and I think this is the only thing preventing me from moving all my notes from Evernote now!

In making a minimally reproducible test, I also found a bug with importing bold text: I lazily included the space after the word when making the text bold, and Joplin's importer turned this from <b>bold </b> to **bold ** which, because there's a space within the asterisks, doesn't render correctly.

Here's the ENEX:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "">
<en-export export-date="20210411T103546Z" application="Evernote" version="10.8.5">
    <title>Test note</title>
      <![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE en-note SYSTEM ""><en-note><div>testing <span style="--en-highlight:yellow;background-color: #ffef9e;">highlighted</span> testing <b>bold </b>testing</div></en-note>      ]]>

Which results in the following Markdown:

testing highlighted testing **bold ** testing
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.