Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The form action URL is not escaped properly, generating badly-formed XML (as can be tested by installing http://drupal.org/project/xhtml).
See patch.
Comment | File | Size | Author |
---|---|---|---|
plus1-xhtml.patch | 1.18 KB | ohnobinki |
Comments
Comment #1
NancyDruYou wouldn't be looking for someone to encourage use of your module, would you? No one has ever complained before.
Comment #2
ohnobinki CreditAttribution: ohnobinki commentedI am noting that the Plus 1 module produces invalid HTML. It is easier to notice errors such as this when asking the web browser to parse the document as XML.
Thus this bug is valid regardless of how you validate the HTML on your site. I am just referencing the module as a way to expose the error (on mozilla browsers, for example, sending a document with invalid XML as application/xhtml+xml produces a big error message). I do not recommend the module be used for production sites because drupal does not produce well-formed output, but I find it useful for developing and getting it closer to the ideal...