#2897 closed defect (bug) (fixed)
Title attributes on Import page can contain < and > characters
| Reported by: | Nazgul | Owned by: | Nazgul |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0.3 |
| Severity: | trivial | Keywords: | bg|has-patch |
| Cc: | Focuses: |
Description
The title attributes on the links pointing to the different import modules can (and do) contain < and > characters, which breaks XHTML validation.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Created a patch which does a wptexturize on the attribute, as specified in the Coding Guidelines and also does a strip_html on it, because title attributes shouldn't contain HTML markup.