• 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.

Item7552: Allow newlines in triple-quoted strings

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension SpreadSheetPlugin Enhancement Closed   patch 6.0.1

Edit Form Data

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

Detail

Small enhancement to allow newlines within triple-quoted strings. Example:

%CALCULATE{$PROPER('''ThiS is MIXED 
casE with newlines, fixed into PROPER case.
   * with bullet
   * text
And normal text.''')}%

Test case result:

This Is Mixed Case With Newlines, Fixed Into Proper Case.

  • With Bullet
  • Text
And Normal Text.

-- TWiki:Main/PeterThoeny - 2014-09-23

This is now in SVN trunk and 6.0 branch.

-- TWiki:Main.PeterThoeny - 2014-09-23

See also related Item7553: Allow newlines and indent around functions and function parameters

-- TWiki:Main.PeterThoeny - 2014-09-23

ItemTemplate
Summary Allow newlines in triple-quoted strings
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.0
SVN Range TWiki-6.0.1-trunk, Thu, 07 Aug 2014, build 27861
AppliesTo Extension
Component SpreadSheetPlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:28080 TWikirev:28081 TWikirev:28082 TWikirev:28083
TargetRelease patch
ReleasedIn 6.0.1
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2014-10-06 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback