id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 4484,OutlineFormatter messes up large titles with wiki formatting,mnw21@…,Jonas Borgström,"The OutlineFormatter class generates an array of titles from a page. I'm using TocMacro to generate a table of contents for my wiki pages, and some of the titles are messed up in the contents. The bug is that OutlineFormatter (eventually, through the OneLinerFormatter) calls shorten_line on the original title text, then reformats to HTML. The shorten_line operation may throw away the closing tags of some wiki formatting, which will then cause the reformatting to HTML to go awry. This is probably most likely to happen if the title contains a link with a long URL. The OneLinerFormatter should probably reformat to HTML, and then shorten the text in a manner that preserves the HTML tags, not counting the HTML tags as part of the text length.",defect,closed,normal,,wiki system,0.10.3,normal,duplicate,,,,,,