[wp-trac] [WordPress Trac] #23975: force_balance_tags in get_the_content breaks non-HTML formats

WordPress Trac noreply at wordpress.org
Fri Jan 17 08:44:27 UTC 2014


#23975: force_balance_tags in get_the_content breaks non-HTML formats
--------------------------+-----------------------------
 Reporter:  ruckus        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Formatting    |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Changes (by nacin):

 * milestone:  Awaiting Review => Future Release


Comment:

 Hi ruckus, sorry you never got any direction on this one. That's a pretty
 old change you cite.

 I think force_balance_tags() definitely makes sense here, but I also
 understand why this could cause problems. Perhaps tag balancing could be
 made smarter to not catch angle brackets used in this way. I agree that
 moving this to a filter could be a good idea.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23975#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list