Title: PRE broken?
Last modified: August 18, 2016

---

# PRE broken?

 *  [Ralf Bergs](https://wordpress.org/support/users/rabe/)
 * (@rabe)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/pre-broken/)
 * 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)

 *  [holodoc](https://wordpress.org/support/users/holodoc/)
 * (@holodoc)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/pre-broken/#post-561349)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [holodoc](https://wordpress.org/support/users/holodoc/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/pre-broken/#post-561349)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
