-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: convert native HTML line breaks <br> to Markdown line breaks #576
Comments
Yihaa, thank you for reporting me this issue and to let me improve Yarle! |
Hi @spudart , Thanks for the details and the enex file! I think it is because Evernote stores newline-ish looklike differently, not as plain <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export4.dtd">
<en-export export-date="20240108T223036Z" application="Evernote" version="10.68.3">
<note>
<title>newlines</title>
<created>20240108T223014Z</created>
<updated>20240108T223024Z</updated>
<note-attributes>
</note-attributes>
<content>
<![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd"><en-note><div>line1</div><div>line2</div><div><br/></div></en-note> ]]>
</content>
</note>
</en-export>
So in this case the div tags separate the content like newlines in html, hence ccc |
@akosbalasko The config option "Convert newline HTML tags" would be incredible! Thank you! |
hi @spudart , from the upcoming lines.
|
Released in version 6.3.0 |
Thank you so much for making such a great tool to export notes from Evernote to Markdown for Obsidian.
I've noticed that Yarle is not converting
<br>
tags in myCDATA
.Here is an enex file with one test note:
Yarle is outputting this:
Whereas it would be fantastic if Yarle generated this instead:
Am I missing something that the
<br>
tags in my notes are not being converted to line breaks?The text was updated successfully, but these errors were encountered: