markdown-editor icon indicating copy to clipboard operation
markdown-editor copied to clipboard

Escape `_` during serialization of wysiwyg content

Open d3m1d0v opened this issue 1 year ago • 0 comments

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 avatar Sep 27 '24 14:09 d3m1d0v