Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#24950 closed defect (bug) (fixed)

<mark> tag not allowed

Reported by: looimaster's profile Looimaster Owned by: nacin's profile nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.6
Component: Formatting Keywords: has-patch
Focuses: Cc:

Description

I just noticed that the <mark> tag is not allowed for administrators in WPMU 3.6. All other tags like: b, i, em, strong, sup, sub, samp, var, kbd, s, small, q, ins, dfn, del, cite, abbr, a seem to be allowed. I imported an XML using [Tools > Import] and it was stripped.

Attachments (2)

24950.patch (477 bytes) - added by kraftbj 11 years ago.
Allowing mark and dfn in allowedposttags
24950.2.patch (624 bytes) - added by kraftbj 11 years ago.
New patch to include samp to resolve old #1937 as well.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
11 years ago

  • Component changed from General to Formatting

#2 @kraftbj
11 years ago

<dfn> is not allowed in posts currently either. Both are semantic/HTML5 valid tags that are for formatting only. Including patch to allow for <mark> and <dfn> to be allowed.

@kraftbj
11 years ago

Allowing mark and dfn in allowedposttags

#3 @kraftbj
11 years ago

  • Cc bk@… added
  • Keywords has-patch added

@kraftbj
11 years ago

New patch to include samp to resolve old #1937 as well.

#4 @nacin
11 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 26973:

Add dfn, mark, and samp to kses.

props kraftbj.
fixes #24950.

#5 @ocean90
11 years ago

  • Milestone changed from Awaiting Review to 3.9
Note: See TracTickets for help on using tickets.