https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36171 --- Comment #28 from Kevin Carnes <kevin.carnes@ub.lu.se> --- (In reply to Jonathan Druart from comment #26)
(In reply to Kevin Carnes from comment #23)
It also changes the replacement of "-->" in doc-head-open.inc so it is not interpreted as the end of the comment. It now replaces all "--" with "- -".
Why all?
Just in case there was a browser that was strict about an even number of "--" and also to avoid writing '-' _ '->'. I removed the change since it looks like everything between a comment and an HTML tag is ignored anyways, so the change is not necessary. In this case it doesn't cause a problem, but there is a problem if a template toolkit tag is outside a comment and contains a "<!". There is also a problem if it is inside a comment and contains a "-->" followed by an HTML tag and then some text before the real end of the comment. Finally, any text between an HTML tag and a comment is ignored (e.g. <a>before<!-- comment -->after</a>). -- You are receiving this mail because: You are watching all bug changes.