• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6374: Backslashes don't work as expected in Tree Plugin params

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TreePlugin Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Tree Plugin samples imply that I should be able to usebackslases to protect double quotes from TREE. That is, this should work:


%TREEVIEW{topic="VbrownBagelry" formatting="outline" format="$topic <br /> $percntTOC{\"$topic\"}$percnt  <br />" }%

But instead, the backslashes are eaten or ignored, so TREE thinks the format is closed at the " before $topic.

Results look like

VbrownBagelry
%TOC{ VbrownTestCalendar
%TOC{ VbrownTestEventSearch
%TOC{ VbrownTests
%TOC{

I should see

VbrownBagelry
   Header 1
   Header 2
VbrownTestCalendar
   Header 1
   Header 2
...

-- TWiki:Main/VickiBrown - 18 Dec 2009

ItemTemplate
Summary Backslashes don't work as expected in Tree Plugin params
ReportedBy TWiki:Main.VickiBrown
Codebase ~twiki4
SVN Range TWiki-5.0.0, Sun, 27 Sep 2009, build 18153
AppliesTo Extension
Component TreePlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2009-12-18 - VickiBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback