• I tried to publish Perl code like the following:

    if (exists $opt{d}) {
        print "Enabling debug mode...\n";
        $debug = 1;
    }

    The trailing newline’s backslash character in the print statement always gets lost, regardless whether I copy the code in GUI mode or in CODE mode.

    Is this a bug? Am I doing something wrong? If so, what?

    Thanks,

    Ralf

Viewing 1 replies (of 1 total)
  • I have a similar problem, I enter

    <pre lang=”PHP”>for ($i=0; $i<count($ad); $i++)
    […]
    < /pre >

    and WP changes it to

    <pre lang=”PHP”>for ($i=0; $i<count($ad);)>
    […]
    </count($ad);)>< /pre >

    Can I somehow deactivate this feature to still “correct” the code I enter in code view?

Viewing 1 replies (of 1 total)
  • The topic ‘PRE broken?’ is closed to new replies.