Just for Chris

I went into the writebackplus plugin code and altered it so that HTML links can be written into the comments. By default, all the less than characters get escaped unless they are followed by a “p” or a “br” (either with or without a “/” between). I added “a” as something to exclude, as well as made the regular express case insensitive. This doesn’t change old comments automatically because it does this as it writes the file but from here on out you can include links in the comments. Part of the rationale for leaving them out is that link spammers use them, but then they use the URL field of the comment as well anyway, so they still can sneak a link in regardless.

Published by


Dave Slusher is a blogger, podcaster, computer programmer, author, science fiction fan and father. Member of the Podcast Hall of Fame class of 2022.

2 thoughts on “Just for Chris”

  1. Chris C. says:

    Awwww, thanks dude!

    But I thought the P and BR tags weren’t working either. This comment should prove it one way or another.

    Oh, and here’s a link for testing purposes. Once you get past the inflammatory headline, it’s another really interesting piece by Fred Kaplan.

  2. Chris C. says:

    That’s funny, P and BR behave the opposite from what I would expect.

Comments are closed.