Minor quirk with RunPHP plugin

I recently ran into some trouble with a nifty little plugin for Wordpress called RunPHP

What cruinh and I have discovered is that the code only actually evaluates within the post if there is something preceding it in the post, even a single white-space. For example:

<phpcode>echo "blarg";</phpcode> displays:
echo “blarg”;

However, <h2><phpcode>echo "blarg";</phpcode></h2> displays:

blarg

Additionally, test text <phpcode>echo "blarg";</phpcode> displays:
test text blarg

Interesting little bug.. hopefully the plugin author is still around to fix the problem. ;)

5 Comments »

RSS feed for comments on this post.

Speak your mind~

Comment moderation for first-time posters is used on this site, so don't be alarmed if your comment doesn't show up immediately. The admin will review comments from any new visitors as soon as possible.

Go to Gravatar.com to get a nifty global avatar.

The following html tags are available:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>