Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#11968 closed defect (bug) (fixed)

balanceTags doesn't understand namespaced tags

Reported by: Otto42 Owned by:
Milestone: 3.0 Priority: high
Severity: major Version: 2.9.1
Component: Formatting Keywords: needs-patch
Focuses: Cc:


Try to put something like this into a post (with unfiltered_html enabled):


If the balance tags option is enabled, it will mangle this content into this:

<test :something>

Reason: Balance tags doesn't understand that colons can be part of tag names.

This makes using things like XFBML (part of Facebook Connect) in posts very difficult.

Change History (2)

#1 @Otto42
6 years ago

  • Keywords needs-patch added
  • Milestone changed from Unassigned to 3.0

#2 @dd32
6 years ago

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

(In [13913]) Recognise namespaces in tags for balanceTags(). Fixes #11968

Note: See TracTickets for help on using tickets.