html codes when limiting titles' length

dcoun - April 15, 2008 - 07:02
Project:Clickpath
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

When you have a page's title that has html codes (ex. ) then when limiting the title's length, the closing html code (eg ) is not included, changing all html pages that follows the clickpath block.
One solution could either to remove html codes form each title or close the html codes.

#1

dcoun - April 15, 2008 - 07:03

The codes in the examples are:
<em> and </em>

#2

coltrane - December 17, 2008 - 22:01

I think stripping the HTML would be best.

#3

coltrane - May 31, 2009 - 21:34
Version:6.x-1.0» 6.x-1.x-dev
Status:active» needs review

Run strip_tags() before saving title.

AttachmentSize
clickpath-246796-strip-html.patch 601 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.