cryptee / web-client

Cryptee's web client source code for all platforms.
https://crypt.ee
Other
445 stars 22 forks source link

[Bug] Incorrect list format when exporting documents #200

Closed ramonls8 closed 7 months ago

ramonls8 commented 7 months ago

Describe the bug When exporting documents to Markdown or HTML, unordered lists with different tabulations are not exported in the correct format. If an item is tabulated more than once, it is exported with two "*" instead of a few spaces and only one "*".

For example:

Will be exported as:

* example
* * example
  * * example

Instead of:

* example
  * example
    * example

To Reproduce

  1. Create a document and write an unordered list into it.
  2. Export to Markdown or HTML and open the resulting file.

Screenshots Cryptee original document: cryptee doc 2

Markdown exported file: markdown export 1

HTML exported file: html export 2

johnozbay commented 7 months ago

Hi there 👋🏻

Thanks a lot for spotting and filing this.

It seems to be a combination bug between our editor and the markdown exporter we use. We're actively working on a fix for this now, and hope to get this out with the upcoming release!

I've linked this issue to our internal issue/release tracker. Once the update with this fix is out (should be in the next update, but you never know), this issue will be closed automatically, and you'll get a notification!

Thank you so much for filing this, your help and patience!

johnozbay commented 7 months ago

Hi there 👋🏻

Stopping by to say we've identified and fixed this in the alpha version and it will be out with the next update. Both the HTML and the markdown exports will be (~should be~) correct.

Many thanks for the great examples and screenshots!

Thanks ✌🏻