You are here: Foswiki>Tasks Web>Item2040 (12 Sep 2009, SvenDowideit)Edit Attach

Item2040: it appears that a #anchor breaks the $summary output escaping of a formatted TREE

pencil
Priority: Normal
Current State: New
Released In:
Target Release: n/a
Applies To: Extension
Component: TreePlugin
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: SvenDowideit
I was doing a TREE with a format that contained a div inside which i put $summary.

this works ok for most of the topics in the System web, but the TopicTemplates one it breaks down on.

%TREE{
   web="System"
   Wtopic="WebHome"
   Wexcludetopic="Todo*,Tip*,Var*"
   formatting="outline"
   format="* <a web='$web' topic='$topic' href='%SCRIPTURL{view}%/$web/$topic'>$percntIF{$quot'$topic' = 'WebHome'$quot then=$quot$web$quot else=$quot$topic
$quot}$percnt <div class='smallSummary'><pre>$summary</pre></div></a>"
   levelprefix="   "
   startlevel="1"
   stoplevel="1"
}%

i'm curious to see if SEARCH has the same issue - ie that the core code for escaping / formatting is used..

-- SvenDowideit - 12 Sep 2009

ItemTemplate edit

Summary it appears that a #anchor breaks the $summary output escaping of a formatted TREE
ReportedBy SvenDowideit
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component TreePlugin
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r1 - 12 Sep 2009, SvenDowideit
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