Bugzilla – Bug 319
Make probable cause with unquoted attribute values more probable
Last modified: 2009-11-23 17:17:03 CET
16:02 < zcorpan> hsivonen: Error: " in an unquoted attribute value. Probable
causes: Attributes running together or a URL query string in
an unquoted attribute value.
16:03 < zcorpan> hsivonen: is the latter really a probable cause?
16:03 < zcorpan> hsivonen: (it is for = but i don't think it is for " or ')
16:05 < zcorpan> hsivonen: probably cause is forgetting the starting " or ' (at
least if the next character is > or whitespace)
16:05 < zcorpan> s/y/e/
16:05 < zcorpan> (or maybe regardless of the next character)
<p title=Hello World">
The latter says "Probable cause: Matching quote missing somewhere earlier."
Although that's not true in these cases:
They might not be common enough to differentiate, but if you will then a more appropriate message for those would probably be something like "You can't use " or ' in unquoted attributes".