durusmail: quixote-users: Thoughts on a block-syntax extension to PTL
Thoughts on a block-syntax extension to PTL
2005-08-22
2005-08-22
2005-08-22
2005-08-22
2005-08-22
2005-08-23
2005-09-07
Thoughts on a block-syntax extension to PTL
Graham Fawcett
2005-09-07
On 9/4/05, Ksenia Marasanova  wrote:
> Graham,
>
> I like it a lot.
>
> 2005/8/22, Graham Fawcett :
> [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
reply