Opened 8 years ago
Closed 8 years ago
#30954 closed defect (bug) (fixed)
Allow <s> tags in addition to <strike> in title
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Formatting | Keywords: | has-patch kses |
Focuses: | Cc: |
Description
Currently, WordPress allows the <strike> tag, which is deprecated/obsolete, but not the <s> tag, which is supported in HTML5:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
Attachments (2)
Change History (10)
#1
@
8 years ago
- Keywords reporter-feedback added
- Type changed from defect (bug) to enhancement
- Version changed from trunk to 4.0
#2
@
8 years ago
- Keywords reporter-feedback removed
- Summary changed from Allow <s> tags in addition to <strike> to Allow <s> tags in addition to <strike> in title
- Type changed from enhancement to defect (bug)
- Version changed from 4.0 to trunk
To clarify, I'm referring to the post_title field. The post_content already allows both tags.
#5
@
8 years ago
- Component changed from General to Formatting
Confirmed. We have <s>
in $allowedposttags
, but not in $allowedtags
.
30954.patch works as expected.
Note: See
TracTickets for help on using
tickets.
What does "WordPress allows" mean, exactly? kses, TinyMCE, something else?