Comments and XHTML 1.1 now play nicely
It took a bunch of playing around, but I finally got things working (I think) so that I can have both MathML and comments.
add the following line as first step:
container = document.getElementById("comment-form-external-auth");
all instances of
document.writeneed to be changed to
container.innerHTML =and set to equal the string that was to be written
The content written to
innerHTMLneeds to have all ampersands written as
&to be XHTML 1.1 “safe”
Rebuild your site, and I think comments will now work with the rest of your
XTHML 1.1 site, when served as
Please let me know if you find errors on my site in this (or any other) regard.