OK, I can reproduce this now. But I'm unfamiliar with \n\r as a line separator. \r\n is
common for Windows, \r for old-Mac line endings and \n for Unix/Linux/MacOSX. What
produces \n\r ??? Textile reads that as two line separators right now, so it sees the input like
this:
* 1
* 2
* 3
-Brad
On Tue Jul 04 13:43:02 2006, guest wrote:
Show quoted text> On Di. 04. Jul. 2006, 13:28:11, BCHOATE wrote:
> > I'm sorry-- I cannot reproduce this behavior. Can you run these tests
> > and tell me what you
> > get?
> >
> > 1.
> >
> > perl -MText::Textile=textile -e 'print textile("* 1\n* 2\n* 3\n")'
> >
> > 2.
> >
> > perl -MText::Textile=textile -e 'print textile("* 1\r\n* 2\r\n*
> > 3\r\n")'
> >
> > 3.
> >
> > perl -MText::Textile=textile -e 'print textile("* 1\r* 2\r* 3\r")'
> >
> > For me, all three produce this:
> >
> > <ul>
> > <li>1</li>
> > <li>2</li>
> > <li>3</li>
> > </ul>
> >
> >
> > And when reporting bugs, it's always helpful if you can provide
> > information about your
> > environment. What OS you're using, version of Perl, etc.
> >
> >
>
> Well, seems to be a problem with \r and \n in input!
>
> Try this:
>
> perl -MText::Textile=textile -e 'print textile("* 1\r\n* 2\n\r* 3\n\r")'