[pmwiki-users] Would you accept a patch to ignore linefeeds after << ?

Jo Rhett jrhett at svcolo.com
Thu May 25 17:32:58 CDT 2006


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




More information about the pmwiki-users mailing list