Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENEX import via html ignores checkbox state #3402

Closed
msbentley opened this issue Jun 22, 2020 · 0 comments
Closed

ENEX import via html ignores checkbox state #3402

msbentley opened this issue Jun 22, 2020 · 0 comments
Labels
bug It's a bug high High priority issues import Related to importing files such as ENEX, JEX, etc.

Comments

@msbentley
Copy link

When import an ENEX file to Joplin, the import as markdown option correctly maintains the checked status of checkboxes, whereas the html option does not.

An example ENEX file to demonstrate this is below:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export2.dtd">
<en-export export-date="20200622T091735Z" application="Evernote/Windows" version="6.x">
<note><title>This is a note to test check-boxes in Joplin import.</title><content><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">

<en-note><div>This is a note to test check-boxes in Joplin import.</div><div><en-todo checked="false"/>this is un unchecked box<br/></div><div><en-todo checked="true"/>t
his is a checked nox<br/></div><div><br/></div></en-note>]]></content> <created>20200622T091652Z</created><updated>20200622T091707Z</updated><note-attributes><author>Mark
 S. Bentley</author><source>desktop.win</source><source-application>evernote.win32</source-application></note-attributes></note></en-export>

Environment

Joplin version: 1.0.224
Platform: linux
OS specifics: ubuntu 18.04

Steps to reproduce

  1. Create a note in Evernote with a checked to-do box
  2. Import as MD to Joplin - checkbox state is correctly set
  3. Import as HTML to Joplin - checkbox state is ignored
@msbentley msbentley added the bug It's a bug label Jun 22, 2020
@laurent22 laurent22 added high High priority issues import Related to importing files such as ENEX, JEX, etc. labels Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug high High priority issues import Related to importing files such as ENEX, JEX, etc.
Projects
None yet
Development

No branches or pull requests

2 participants