wptexturize malforms HTML comments that contain HTML tags
|Reported by:||Otto42||Owned by:||anonymous|
|Severity:||normal||Keywords:||has-patch needs-refresh needs-unit-tests|
|Cc:||norbert@…, harrismw, curtiss@…, bk@…|
Because it's replacing -- with #8211, a comment like <!-- whatever --> put into the HTML part of a post gets broken.
What is needed is to recognize --> as different from -- and not replace it with the en dash in that case.
Change History (33)
- Component changed from General to Formatting
- Milestone set to 3.0
- Resolution worksforme deleted
- Status changed from closed to reopened
- Version changed from 2.7 to 2.9.2
comment:7 Viper007Bond — 4 years ago
- Summary changed from wp_texturize breaks HTML comments in posts to wptexturize malforms HTML comments that contain HTML tags
comment:21 SergeyBiryukov — 2 years ago
- Keywords needs-refresh added