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

In WYSIWYG mode, starting a line with a hyphen causes unexpected escaping #3256

Open
devintuffy opened this issue Jul 19, 2024 · 0 comments
Open
Labels

Comments

@devintuffy
Copy link

Describe the bug

When in WYSIWIG mode, if a line begins with a - character and contains a URL, the . characters in the URL are escaped, making the URL incorrect.

To Reproduce

Steps to reproduce the behavior:

  1. Open an instance of Toast Editor, set to WYSIWIG mode
  2. Try entering the following text:
http://www.google.com
- http://www.google.com
  1. call getMarkdown() on the editor
  2. See that the markdown now looks like this:
http://www.google.com
\- http://www\.google\.com

Expected behavior

URLs should not be escaped the way they are

Screenshots

Screenshot 2024-07-19 at 8 56 17 AM

Desktop (please complete the following information):

  • OS: OSX
  • Browser: Chrome
  • Version: Version 126.0.6478.127
@devintuffy devintuffy added the Bug label Jul 19, 2024
twodam added a commit to nance-eth/nance-interface that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant