AppFlowy
AppFlowy copied to clipboard
[Bug] Import markdown, the URL with username and password in the code block is abnormally converted
Bug Description
When I import the following file and then export it, the content of the file changes
export.md ``
How to Reproduce
When I imported the following file and then exported it, the content of the file changed. import.md was the file I imported. I exported it again without performing any operations, and the content of the exported file changed.
Expected Behavior
Exported files will not be abnormally converted
Operating System
mac
AppFlowy Version(s)
0.5.2
Screenshots
No response
Additional Context
No response
Was able to reproduce it on v0.5.3. You don't need to import the file.
Step to reproduce:
- Add a code block of Auto or Bash (maybe other works but I only tested those two)
- In the code block, add any text that ressemble a email address. E.g.:
[email protected] - Export as markdown (Share > Markdown)
I think the editor is also concerned because, with Auto, email-like string are coloured even when part of an URL.