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

Escape _ during serialization of wysiwyg content #387

Open
d3m1d0v opened this issue Sep 27, 2024 · 0 comments
Open

Escape _ during serialization of wysiwyg content #387

d3m1d0v opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@d3m1d0v
Copy link
Collaborator

d3m1d0v commented Sep 27, 2024

Description

Wysiwyg serializer does not escape _ symbol in content. This may cause differences in the display in wysiwyg and in the html rendered in makrdown-it. For example in case "_em_": when writing in wysiwyg, this content will have underscores, but after changing the mode to markup and back, in wisywig it would be "em". Markdown-it parse it as italic emphasis.

Proposal

Need to add the underscore character _ to the list for escaping in serializer to markdown

@d3m1d0v d3m1d0v added bug Something isn't working good first issue Good for newcomers labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant