-
Bug
-
Resolution: Done
-
Medium
-
4.2.4
Two problems with cut & paste in a Syntax Highlighting section of a post.
1) If you cut text from a text editor and paste it into an SBS syntax highlighting block (especially XML), it inserts an extra newline between every line.
2) If you cut text from within the syntax highlighting block and then re-paste it, it inserts another redundant layer of <pre> tags, which then confuses the editor resulting in incorrect formatting and possible lost data. The only fix is to enter the HTML editing mode and find and remove the extra <pre> tags by hand. Except while you do this, the HTML editing mode reformats the HTML and moves your cursor as you type, as it tries to deal with the invalid HTML, so this is quite tricky.
- is related to
-
ORG-892 Community wiki does not handle wiki markup correctly
- Closed