Opened 20 years ago
Closed 18 years ago
#1937 closed defect (bug) (wontfix)
All HTML phrase elements should be allowed for comments and posts
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | General | Keywords: | bg|has-patch kses |
Focuses: | Cc: |
Description
http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1
Particularly, the following tags need to be added:
dfn, samp, kbd, var, cite
Attachments (1)
Change History (5)
#2
@
20 years ago
- Keywords bg|has-patch added; bg|needs-patch removed
- Summary changed from All HTML phrase elements should be allowed for comments to All HTML phrase elements should be allowed for comments and posts
- Version changed from 1.6 to 2.0
#3
@
20 years ago
This patch only adds a handful of infrequently seen tags to kses in the core. Why not enable all of them?
It also doesn't include any changes to enable these tags from TinyMCE, which might not be neccesary for advanced users who aren't using it, but would sure cause havok on posts that were first submitted raw, and then edited in TinyMCE.
Perhaps this is better left to user customization via my-hacks.php, as cautioned in the kses code (and still remains in this patch).
Note: See
TracTickets for help on using
tickets.
Adds the four elements to kses.php.