We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38814
    • 6 Posts
    Hello,

    I have noticed strange behavior on 2 (out of about 30) pages: when I open the page html in the rich text editor (by default) in the manager, the newline formatting gets messed up in the <pre><code> tags.

    By that i mean that all the new lines go away, and all the text is in one line. I have mitigated this by not using the rich text editor by default to edit html.

    The problematic code:
    <pre><code>some code;
         some more code;
              moooaar code!;</code></pre>
    

    I don't know if this is indeed a bug or just my incompetence/ignorance.
    Let me know what i can do to help clarify this issue.

    Linux Debian 6.0
    Apache/2.2.16
    PHP 5.3.3-7 with Suhosin-Patch
    Mysql 5.1.49
    MODX Revolution 2.2.0-pl2 (traditional) [ed. note: f16d5s last edited this post 14 years, 5 months ago.]