Feature Proposal: URLPARAM with $br and $n variables in newline parameter

Motivation

Expand variables $n (for newline) and $br (for <br /> tag) in newline="" parameter of URLPARAM. Those should not get escaped based on encode parameter.

This is a proper fix for TWikibug:Item6276.

Description and Documentation

Change the newline documentation of VarURLPARAM as follows:

newline="$br" Convert newlines in textarea to other delimiters. Variables $br for break tag (<br />), $n for newline are expanded. Other text is encoded based on encode parameter. no conversion

Examples

Impact

Implementation

-- Contributors: PeterThoeny - 2010-03-03

Discussion

This is now implemented in trunk, TWikibug:Item6404. Related CommentPlugin fix for TWikibug:Item6276 is also done (cannot specify percentBRpercent for newline value.)

-- PeterThoeny - 2010-03-20

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2010-03-20 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.