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.

Comments

dcoun’s picture

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

coltrane’s picture

I think stripping the HTML would be best.

coltrane’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new601 bytes

Run strip_tags() before saving title.

Martin.Schwenke’s picture

StatusFileSize
new754 bytes

The patch in comment #3 didn't work for me.

There's another use of $title about 5 lines up that needs strip_tags() applied to it. That seemed to do the trick...