[pmwiki-users] Linefeeds in directive values?

Allister Jenks arj at zkarj.co.nz
Thu Mar 16 22:23:56 CST 2006


Sweet.  That works nicely.

I've added a short mention and example to the TextFormattingRules page under
the Escape Sequence heading.  You may want to alter the formatting a bit.
It didn't seem sensible to include it in (:markup:) tags as it is an invalid
markup as a fragment, and even if we ignore that, the real output is
invisible!

On 3/17/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> On Fri, Mar 17, 2006 at 12:52:00PM +1300, Allister Jenks wrote:
> >    Hmm.  No answers.  Is this even possible?  Or do I need to search and
> >    replace in my PHP action script?
>
> Sorry, I meant to answer the earlier message but got sidetracked.
> (Lots of message traffic to keep up with.)
>
> >    On 3/16/06, Allister Jenks < arj at zkarj.co.nz> wrote:
> >      I give in!
> >      How can I, in a directive, specify a string with linefeeds?
> >      I thought something like
> >      (:input hidden message "Line 1\nLine 2\nLine 3":)
>
> (:input hidden message "[=Line 1
> Line 2
> Line 3=]":)
>
> might do what you want.
>
> Pm
>

--
Allister
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060317/c08acd93/attachment.html 


More information about the pmwiki-users mailing list