Re: [[email protected]: Re: textile preformatter]

Kai Hendry <hendry-bbCR+/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Sun, Mar 23, 2003 at 09:37:25 -0500, Mark Pilgrim wrote:
> Not sure what you're referring to.  I testing this input:
> This is a line.
> This is another line.
> This is a paragraph.
> ...which produces this output in both the PHP and Python versions:
> 	<p>This is a line.<br />
> This is another line.</p>
> 	<p>This is a paragraph.</p>
> I'm not denying there are bugs, but can you send me a test case that 
> demonstrates the particular bug you're referring to?

Ah you are right. Should have ran that test myself. What must be
happening is that we are feeding your script only one line at a time...

Regards,
-Kai Hendry




> Kai Hendry wrote:
> >Is there a bug in your pytextile script? new lines are creating <p>, or
> >is that intentional?
> >Regards,
> >-Kai Hendry
> >----- Forwarded message from Wari Wahab <[email protected]> -----
> >
> >From: Wari Wahab <[email protected]>
> >To: Kai Hendry <hendry-bbCR+/[email protected]>
> >Cc: Mark Smith <mark-2N6weYfYsOhWk0Htik3J/[email protected]>, [email protected]
> >Subject: Re: [pyblosxom-users] textile preformatter
> >X-Bogosity: No, tests=bogofilter, spamicity=0.445105, version=0.10.2
> >
> >
> >>I blogged about this, and managed to get it working with my thumbnail
> >>generator thingie:
> >>http://db.cs.helsinki.fi/~hendry/log/pyblosxom.cgi/blogs/textilethumb.html
> >
> >
> >Hi Kai, see that you've dont some work with this. Anyway, if you were to 
> >look at the textile page @ http://www.textism.com/tools/textile/ you 
> >will see that newlines should create <br/>s, not <p>s. I guess this is a 
> >bug in Mark Pilgrim's part, anyone wants to give him a comment on it?
> >
> >I've been wanting to do a Textism preformatter for quite a while now, 
> >and luckily, Mark Pilgrim beat me to it :) He would have definitely done 
> >it better than me.
> >
> >Mark (Mark Smith that is) thanks for the heads up on this very easy to 
> >implement preformatter.
> >
> >BTW, yeah Kai, the plugin spec for the new release is not stabilized 
> >yet, and one thing we are going to do is to make preformatter a plugin 
> >as well, so you have just one plugin interface to deal with. Your Thumbs 
> >generator would go into something we called a postformatter (something 
> >to accomodate the glossary plugin that was done as a preformatter for now).
> >
> >
> >----- End forwarded message -----
> >
> 



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.