0
Under review

Javascript code does not work with XHTML

palpurospam 4 years ago updated 4 years ago 2
Thanks for the package.

Adding the suggested javascript code does not work with xhtml. I get an "XML Parsing Error: not well-formed" message.

Any idea how to fix?
+1
Under review

XHTML is not very common these days, but if you do need to use it, then it seems you need to replace all ampersands ("&") with "&" according to this.

I've used the W3C XHTML validator to verify that this here is an example of a working script tag in XHTML:

<script src="//bibbase.org/show?bib=http://www.cs.toronto.edu/~fritz/publications/list.bib&jsonp=1&token=cd623eb3abf27ff2ab172935c88baa15" type="text/javascript"></script>

Does that solve the issue you are having? If not, then please send me the XHTML you are having trouble with.


Thanks.

A trivial problem indeed. Solved. Thanks! Maybe you could add one line to the documentation with this minor issue, in case someone else as noob as me faces the same problem.

Thanks!