<code>-tag not functioning properly?
-
Hi guys,
I have a draft post where I store all the wp body edits I had to make in order for wordpress to do what I need it to do.
I enter location and code to be changed.
The code I put between the code-tag but somehow it does get parsed.
so i.e. I end up with
Line xyz <code> $pee = preg_replace('/<p>\s*?(' . get_shortcode_regex() . ')\s*< \/p>/s', '$1', $pee); // don't auto-p wrap shortcodes that stand alone </p></code>where the
</p>was added by wordpress’ tag closing feature. And thus it displays on preview an nicely added paragraph so I know that the code inside the code-tags does get parsed.or at another place it closes a
<code>-tag even though there are no open code-tags at all.Anyhow, is this a bug? is there anywhere I can look and adjust code to make it work?
The topic ‘<code>-tag not functioning properly?’ is closed to new replies.