Re: Thoughts on a block-syntax extension to PTL

Graham Fawcett <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On 9/4/05, Ksenia Marasanova <[email protected]> wrote:
> Graham,
> 
> I like it a lot.
> 
> 2005/8/22, Graham Fawcett <[email protected]>:
> [snip]
> >     * the expression in an ePTL opening-line should resolve to either an
> >       object that has methods 'open_block' and 'close_block', or it must
> >       be a string; if not, str() will be used to stringify it.
> 
> It should be unicode(). I didn't use PTL for a long time, but it
> supports unicode now, right?

Thanks. Actually, I'm going to change the above statement to, "the
expression must resolve to an object that has methods 'open_block' and
'close_block'". In other words, the designer of the tag-class can
decide what to return (though it would probably be a htmltext object).

Graham
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.