Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1818 closed defect (bug) (invalid)

A not-closed <a> tag does not get corrected in comments

Reported by: tjaard's profile tjaard Owned by:
Milestone: Priority: high
Severity: critical Version: 1.5.2
Component: General Keywords: comments markup malformed xml bg|squashed
Focuses: Cc:


Today I got a comment on my blog and the person who wrote the comment did not completely understand the <a> tag, forgetting to close it. WP did not correct this, leading to a yellow screen because of malformed XML (I serve XHTML with the correct mime type). Even if standard WP installations use text/html and therefore the user won't get parse errors, it is not acceptable that ordinary visitors can screw up a blog's markup, as using text/html as a mime type will probably still show the remaining text of the blog as a link.

Change History (4)

#1 @masquerade
19 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @masquerade
19 years ago

Could not duplicate on 1.5.2 or 1.6, kses filters properly.

#3 @error
19 years ago

Tested this on 1.5.2 and was unable to duplicate. Please provide an example which causes the problem and can be duplicated.

#4 @masquerade
19 years ago

  • Keywords bg|squashed added
Note: See TracTickets for help on using tickets.