#25075 closed defect (bug) (wontfix)
<br/> tags should be <br /> tags including one space before forward slash
| Reported by: | vinod dalvi | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Validation | Version: | 3.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
There are a lot <br/> tags in the WordPress core which should be <br /> tags including one space before forward slash. As W3C specifies http://www.w3.org/TR/xhtml1/#C_2 , For tags that are self-closing, the forward slash should have exactly one space preceding it <br />
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This feels like refactoring for the sake of refactoring to me: see http://make.wordpress.org/core/2011/03/23/code-refactoring/
We're no longer serving xhtml in the WordPress admin, having switched to HTML5 several versions back; with the work currently going on to modernize various admin components, we'll be moving further in that direction. Changes to validate against an older standard don't serve any purpose.