Make WordPress Core

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: h3h's profile h3h 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)

kses.php.patch (8.2 KB) - added by h3h 20 years ago.
Adds the four elements to kses.php.

Download all attachments as: .zip

Change History (5)

#1 @davidhouse
20 years ago

  • Keywords bg|needs-patch kses added

@h3h
20 years ago

Adds the four elements to kses.php.

#2 @h3h
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 @ringmaster
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).

#4 @Nazgul
18 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

This ticket has been dead for over a year.

If somebody has any opinions about this issue, they can reopen it or create a new one.

Note: See TracTickets for help on using tickets.