HTML in headings
-
Hi everyone,
I already asked in the German WP forums, but it seems nobody there can (or wants to) help me. So I’ve come here.
The problem is indeed very simple, and I really wonder whether I’m the first person to have it or why there is absolutely no information on it available. It’s all about HTML in headings. You can see the problem here:
http://n.ethz.ch/student/krugs/
And no, the problem is not that I’m using application/xhtml+xml, it also appears when using text/html, then the page just displays wrong. As you can see, I’ve put a “language tag” in my heading to mark up english text as english. Now WordPress somehow does not remove (or otherwise prepare) this HTML to appear inside the comment link’s title element. And as inside an HTML attribute, no HTML itself is allowed to appear, the parser has a problem.
Is there a plugin for this problem? I know I could fix it probably within 5 minutes modifying some PHP code, but I don’t want to do that. It just sucks to re-change your code every time a new WP version is out.
Thanks already for having read all this ;), and I hope maybe someone can even help me.
Regards,
Sacha
The topic ‘HTML in headings’ is closed to new replies.