You are here: Foswiki>Tasks Web>Item3792 (02 Apr 2011, HarlanStenn)Edit Attach

Item3792: foo at EOL does not display properly in TOC.

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TocPlugin
Branches:
Reported By: TWiki:Main.HarlanStenn
Waiting For: Main.HarlanStenn
Last Change By: HarlanStenn
An example of the problem can be seen in the top (TOC) area of http://ntp.isc.org/Support/TroubleshootingNTP

-- TWiki:Main/HarlanStenn - 19 Mar 2007

Apparently the problem also exists if the last word on the line is italic.

-- TWiki:Main.HarlanStenn - 20 Mar 2007

TWiki:Main/SteveKostecke tells me that if a trailing space is added to the %SECTION string if the strings ends with TML, the problem is solved.

-- TWiki:Main.HarlanStenn - 20 Mar 2007

I've created Item3792Test to show the problem.

It looks like the latest code behaves better now. I'm not sure if it's a bug or a feature that the TOC lines do not have the font changes.

-- TWiki:Main.HarlanStenn - 27 Jan 2008

TocPlugin is not installed here on develop.twiki.org

So we cannot see the bug here. The original report related to TocPlugin.

It is not a bug that the TOC does not show font changes. it is supposed to show plain text. Otherwise a lot of strange formatting people use will often cause the TOC to completely fail

-- TWiki:Main.KennethLavrsen - 27 Jan 2008

The problem was that the TML was displayed on the TOC lines.

Now I'm seeing that at least the TML is stripped.

-- TWiki:Main.HarlanStenn - 31 Jan 2008

This was reported against TWiki, and the site showing the error is still on twiki and does not show the error. So no idea how to reproduce - marking for feedback.

-- CrawfordCurrie - 24 Mar 2011

Well, the test case from Jan 2008 might have demonstrated it - in the time since I first opened this report things seem to have changed in both the version of TWiki at ntp.org and I don't recall how this behaved on older FW.

But under both recent TW and FW, it seems to work "consistently", so I trust it's OK I'm marking this one as "No Action Required."

ItemTemplate edit

Summary foo at EOL does not display properly in TOC.
ReportedBy TWiki:Main.HarlanStenn
Codebase
SVN Range TWiki-4.1.2, Sat, 17 Mar 2007, build 13167
AppliesTo Extension
Component TocPlugin
Priority Normal
CurrentState No Action Required
WaitingFor HarlanStenn
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r7 - 02 Apr 2011, HarlanStenn
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy