Title: [Plugin: WP-Syntax] &lt;?php goes to &lt; ?php
Last modified: August 19, 2016

---

# [Plugin: WP-Syntax] <?php goes to < ?php

 *  [darkhorn](https://wordpress.org/support/users/darkhorn/)
 * (@darkhorn)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-ltphp-goes-to-lt-php/)
 * When I write `<?php` and publish/preview it becomes `< ?php`.
 * [http://wordpress.org/extend/plugins/wp-syntax/](http://wordpress.org/extend/plugins/wp-syntax/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [mskogly](https://wordpress.org/support/users/mskogly/)
 * (@mskogly)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-ltphp-goes-to-lt-php/#post-1208084)
 * I have the same problem on [http://pappmaskin.no/2010/03/how-to-make-the-wordpress-plugin-get_the_image-work-with-timthumb/](http://pappmaskin.no/2010/03/how-to-make-the-wordpress-plugin-get_the_image-work-with-timthumb/)
   but only when its on a new line, the ?php is correct when used inside other html,
   like the a href in the example on my site.
 * Why?
 *  [mskogly](https://wordpress.org/support/users/mskogly/)
 * (@mskogly)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-ltphp-goes-to-lt-php/#post-1208085)
 * Ah, found the solution in another thread: Edit wordpress Settings under Writing
   and turn off “WordPress should correct invalidly nested XHTML automatically”

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP-Syntax] <?php goes to < ?php’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [mskogly](https://wordpress.org/support/users/mskogly/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-ltphp-goes-to-lt-php/#post-1208085)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
