Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jakobj

    (@jakobj)

    Okay.. Imagine you wanted to write the output of the php below into a post:
    < ?php
    echo “<pre> \nfirst line of code.. \n\tsecond linie which is indented.. \nthird linie not indented..\n</pre>”;
    ? >

    After you press any save button, WP saves the contents of the input felt as:
    < ?php
    echo “<pre>< br />first line of code..< br />second linie which is indented..< br />third linie not indented..< br /></pre>”;
    ? >

    And if you can read php, you see that the second linie is no longer indented.
    My problem isn’t CSS-related, I have tried using plugins and they do not help, when the problem is inside WP’s “saving” functions. I suspekt it is a filter I need to disable…. But I don’t which or how..

Viewing 1 replies (of 1 total)