wp-syntax pre tag vanishes.. sort of…
-
I added the wp-syntax plugin, activated it, and copied/pasted the sample within the write->post->code section (as opposed to visual). This is the code:
<pre lang="php"> <div id="foo"> <?php function foo() { echo "Hello World!\\n"; } for (\$i = 0; \$i < 10 $i++) { foo(); } ?> </div>
After save those lines are reducded to:
<pre></pre>
and obviously it doesn’t work.What am I missing?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘wp-syntax pre tag vanishes.. sort of…’ is closed to new replies.