-
Notifications
You must be signed in to change notification settings - Fork 434
Description
Thanks for maintaining HTML Tidy!
The documentation for --wrap-script-literals says:
This option specifies if Tidy should line wrap string literals that appear in script attributes.
Tidy wraps long script string literals by inserting a backslash character before the line break.
(My emphasis.)
It is unclear what this documentation means by "script attributes".
I am familiar with href attributes and src attributes and style attributes and many other attributes, but I do not recall encountering a script attribute. Nor do lists of HTML attributes such as this or this report the existence of such an attribute.
Is the documentation in fact referring to, e.g. event-handler attributes? If so, then it should use that term instead of "script attributes".
Alternatively, if (though this seems unlikely, due to the second sentence quoted above) the documentation is in fact referring to attributes on <script> elements, then, again, the documentation should use that term instead of "script attributes".