cryptee / web-client

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

[Bug] Some markdown shortcuts stopped working #139

Closed arturolinares closed 2 years ago

arturolinares commented 2 years ago

Describe the bug Some markdown shortcuts stopped working. So far, I've found these: Headers, quotes and dividers. They all have in common that the shortcut starts as the first character followed by a space.

To Reproduce Steps to reproduce the behavior:

  1. Open a document
  2. Type # followed by a space.
  3. Write the header
  4. The line doesn't have the expected format. The same happens with quotes (>) and the divider shortcut (---)

Expected behavior The markdown character is removed (#, > or ---) and the line gets the expected format of a header, quotation or divider accordingly.

Screenshots

https://user-images.githubusercontent.com/203078/142085099-834cae80-876f-44ac-bc5d-fed9a76645ae.mp4

System Information (please complete the following information):

Additional context Add any other context about the problem here.

johnozbay commented 2 years ago

Hey Arturo!

Thanks a million for spotting & reaching out with this! This one's on us. We made a logic error while trying to fix #137, and our automated tests didn't catch it either.

We fixed this & released an update about a minute ago

johnozbay commented 2 years ago

Thanks again for all these! Please keep em bugs coming! 🕷 We'll get them squashed right away