WordPress 2.6.0 adding spaces in PHP tags when posting
-
I’m trying to post code snippets on my blog. However, when I posted something like:
<pre> <?php echo("Hi!"); ?> </pre>
It added a space in the PHP tag, like so:
< ?php
I tried both HTML entities (≶) and the actual < character, but it added a space either way. It is wrapped inside a
<pre>
tag.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WordPress 2.6.0 adding spaces in PHP tags when posting’ is closed to new replies.