Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#24950 closed defect (bug) (fixed)

<mark> tag not allowed

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

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 13 years ago.
Allowing mark and dfn in allowedposttags
24950.2.patch​ (624 bytes ) - added by kraftbj 13 years ago.
New patch to include samp to resolve old #1937 as well.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
13 years ago

  • Component General → Formatting

#2 @kraftbj
13 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
13 years ago

Allowing mark and dfn in allowedposttags

#3 @kraftbj
13 years ago

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

@kraftbj
13 years ago

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

#4 @nacin
13 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In 26973:

Add dfn, mark, and samp to kses.

props kraftbj.
fixes #24950.

#5 @ocean90
13 years ago

  • Milestone Awaiting Review → 3.9
Note: See TracTickets for help on using tickets.