[wp-trac] [WordPress Trac] #17648: post titles with < followed directly by words truncates title and permalink

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 2 08:45:44 UTC 2011


#17648: post titles with < followed directly by words truncates title and permalink
--------------------------+------------------------------
 Reporter:  haveboard     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by solarissmoke):

 This is because wordpress allows HTML in post titles and `<something` is
 mistaken for a malformed tag.

 See #4789 and #14361 which are related.

 As a workaround, use the entity reference for left bracket (`&lt;`)
 instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17648#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list