Changes between Initial Version and Version 1 of Ticket #40676, comment 16
- Timestamp:
- 07/19/2017 08:40:11 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40676, comment 16
initial v1 4 4 > is valid in HTML5. However, WordPress shouldn't assume all the themes use HTML5 as this would be invalid in HTML 4.0.1. 5 5 6 You are right pointing out that this kind of structures would not be valid in HTML 4.0.1 but... '''even if a developer made a mistake using invalid code (in HTML 4.0.1), how would it help having {{{wpautop}}} messing up the code? The way {{{wpautop}}} works now, it outputs invalid code for both standards, HTML5 and HTML 4.0.1.'''Sorry, I think I'm missing the point.6 You are right pointing out that this kind of structures would not be valid in HTML 4.0.1 but...even if a developer made a mistake using invalid code (in HTML 4.0.1), how would it help having {{{wpautop}}} messing up the code? The way {{{wpautop}}} works now, it outputs invalid code for both standards, HTML5 and HTML 4.0.1. Sorry, I think I'm missing the point.