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

[Bug] Import markdown, the URL with username and password in the code block is abnormally converted #5032

Open
smartyhero opened this issue Apr 2, 2024 · 2 comments
Labels
bug Something isn't working editor features related to the rich-text editor export features related to exporting data from AppFlowy

Comments

@smartyhero
Copy link

Bug Description

When I import the following file and then export it, the content of the file changes

import.md

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

@apomalyn
Copy link
Collaborator

apomalyn commented Apr 6, 2024

Was able to reproduce it on v0.5.3. You don't need to import the file.

Step to reproduce:

  1. Add a code block of Auto or Bash (maybe other works but I only tested those two)
  2. In the code block, add any text that ressemble a email address. E.g.: test@test.com
  3. Export as markdown (Share > Markdown)

@apomalyn apomalyn added bug Something isn't working export features related to exporting data from AppFlowy editor features related to the rich-text editor labels Apr 6, 2024
@apomalyn
Copy link
Collaborator

I think the editor is also concerned because, with Auto, email-like string are coloured even when part of an URL.

Screenshot 2024-04-10 at 11 05 13 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor features related to the rich-text editor export features related to exporting data from AppFlowy
Projects
None yet
Development

No branches or pull requests

2 participants