You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@petdance have not had time to fully research this, but try the following input -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type" content="text/html; charset=utf-8"><title>Is #724-1</title></head><body>
This & that.
</body></html>
HTML5 allow a single & to stand, while not if it is a legacy document... And you should find that --quote-ampersand no makes a difference if HTML4...
At this time this looks more like a documentation issue, rather than a bug...
Or are you suggesting a Feature Request that it be escaped in HTML5, even though it is not necessary...
It doesn't matter if
--quote-ampersand
is yes, no or omitted entirely. The docs at http://api.html-tidy.org/tidy/quickref_5.6.0.html#quote-ampersand say that it should be quoting ampersands by default.The text was updated successfully, but these errors were encountered: