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

Line breaks are converted incorrectly #36

Open
marph91 opened this issue Dec 4, 2024 · 1 comment
Open

Line breaks are converted incorrectly #36

marph91 opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@marph91
Copy link
Owner

marph91 commented Dec 4, 2024

Problem description: https://discourse.joplinapp.org/t/joplin-export-export-emails-from-thunderbird-to-joplin/24792/86

@marph91 marph91 added the bug Something isn't working label Dec 4, 2024
@marph91
Copy link
Owner Author

marph91 commented Dec 15, 2024

Test with the following example mail (in paragraph format):

  1. text
  2. enter
  3. enter
  4. text (paragraph)
  5. shift + enter
  6. shift + enter
  7. text (forced line break)

The mail format is HTML, because paragraph format is used.

Result after exporting to Joplin:

 text  
<br/>

text (paragraph)  
<br/>text (forced line break)

Same result for:

  • The current export (body_html) -> note is editable
  • Manually setting the markup_language (body_html + markup_language=html) -> note is not editable

Options

  1. Converting HTML to Markdown will be much work and some formatting will be lost.
  2. ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant