The pre tag bug report.
-
Hi. Thank you for a great plugin.
I read the source code and I figured out what was wrong. So I’d like to just report it.When I type the syntaxhighlighter evolved shortcodes in the text view and turn into visual view, the
<pre></pre>codes are automatically inserted into the post outside of the shortcodes.
In this case, WordPress regards the pre code as like below because the shortcodes is turned into pre code.(new post) <pre>[code][/code]</pre> (when showing) <pre><pre></pre> (while editing) <pre>[code][/code]</pre> (new post) <pre><pre></pre></pre> (when showing) <pre><pre></pre> (while editing) <pre><pre></pre>After I typed it in a post and submit it, the second
</pre></pre>is automatically deleted when showing.With the shortcodes, the code is not deleted while editing. That’s why the pre code usually isn’t closed properly in the post.
The topic ‘The pre tag bug report.’ is closed to new replies.