Support » Plugin: SyntaxHighlighter Evolved » CTRL+Z breaking the formatting

  • utnalove

    (@utnalove)


    Hello, I have the same issue described here: https://wordpress.org/support/topic/erro-format-post-after-press-ctrlz/

    Using version 3.5.0. Can’t update, unless it is confirmed that it was fixed in a newest version.

    The problem is that, in Visual mode I paste for example:

    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">

    and I copy a plenty of other code blocks, then I make some little mistake and I press CTRL+Z. All the code of the whole post gets changed. All those signs appear with ampersand. SO after pressing ctrl+z the code gets transformed to:

    &lt;!DOCTYPE html&gt;
    &lt;html xmlns=”http://www.w3.org/1999/xhtml&#8221; lang=”en”&gt;
    &lt;head&gt;

    = wordpress is formatting it here. The real version how it looks like I copied here: https://pastebin.com/esapsPDw

    Please help

    • This topic was modified 7 months ago by utnalove.
    • This topic was modified 7 months ago by utnalove.
    • This topic was modified 7 months ago by utnalove.
Viewing 1 replies (of 1 total)
  • Plugin Author Alex Sanford

    (@alexsanford1)

    I can confirm that this is still an problem in the latest version. There is an open issue here.

    As a workaround, I suggest either using the “Text” mode of the editor instead of “Visual” mode, or switching to the block editor.

Viewing 1 replies (of 1 total)
  • The topic ‘CTRL+Z breaking the formatting’ is closed to new replies.