[pmwiki-users] Would you accept a patch to ignore linefeeds after << ?
Jo Rhett
jrhett at svcolo.com
Thu May 25 17:41:34 CDT 2006
Also note that >><< *MUST* be on a line by itself or it won't be
recognized. So the current behavior is inconsistent within itself.
>>start<<there is where content must start
but you'd can't end like this>><<
you have to instead end like this
>><<
On Thu, May 25, 2006 at 03:32:58PM -0700, Jo Rhett wrote:
> There is a fairly annoying situation here:
>
> >>pre<<
> $ ls -la
> $ rm -rf /
> >><<
>
> No, not the second command (don't try this at home) ;-)
>
> The problem is that the parser reads a leading blank line there. To get it
> to display properly you need to do this
>
> >>pre<<$ ls -la
> $ rm -rf /
> >><<
>
> Which is as ugly as sin and hard to read.
>
> If I made a patch which looked for and removed/ignored whitespace*linefeed{1}
> after a >><< tag, would you accept it?
>
> I can't imagine that it would break anything, and it would work as expected
> for most people.
>
> --
> Jo Rhett
> senior geek
> SVcolo : Silicon Valley Colocation
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
--
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation
More information about the pmwiki-users
mailing list