ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Markdown: Only escape special characters where necessary

Open adamerose opened this issue 2 years ago • 3 comments

The characters * _ < [ ] \ always get escaped even when they don't need to be.

Example

Paste the following in the editor here then open Source view.

Input

These stay unchanged
~ ! @ # $ % ^ & ( ) + { } | : " > ? - = ; ' , . /
These get escaped unnecessarily
_ < [ ] \ *

Output

These stay unchanged  
~ ! @ # $ % ^ & ( ) + { } | : " > ? - = ; ' , . /  
These get escaped unnecessarily  
\_ \< \[ \] \\ \*

adamerose avatar Mar 24 '23 23:03 adamerose

Oh this is soooo annoying

movahhedi avatar Oct 05 '24 13:10 movahhedi

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Dec 05 '25 23:12 CKEditorBot

Still annoying.

movahhedi avatar Dec 06 '25 03:12 movahhedi