nope...
<type 'exceptions.TypeError'> unsupported operand type(s) for *: 'BR' and
'int'
and also...
<type 'exceptions.AttributeError'> 'BR' object has no attribute 'XML'
On Wednesday, July 25, 2012 12:09:24 PM UTC-7, Derek wrote:
>
> Ok, how about {{=(BR()*5).XML()}}
>
> On Wednesday, July 25, 2012 11:53:05 AM UTC-7, viniciusban wrote:
>>
>> They don't work. Output is escaped.
>>
>> Try it out.
>>
>> --
>> Vinicius Assef
>>
>>
>> On 07/25/2012 03:40 PM, Anthony wrote:
>> > Though you can do:
>> >
>> > |
>> > {{=BR().xml()*5}}
>> > |
>> >
>> > or
>> >
>> > |
>> > {{=str(BR())*5}}
>> > |
>> >
>> > Anthony
>> >
>> > On Wednesday, July 25, 2012 1:23:37 PM UTC-4, viniciusban wrote:
>> >
>> > No, you cannot.
>> >
>> > On 07/25/2012 02:18 PM, Lucas R. Martins wrote:
>> > > You also can use {{=BR()*5}} or {{=ANYTHING()*5}}
>> > >
>> > > Em Qua 25 Jul 2012 13:51:38 BRT, Toby Shepard escreveu:
>> > >> In my own html generating libraries, I normally allow
>> > >> an integer argument to the <BR> maker, which is a count
>> > >> of how many tags to put out. So:
>> > >>
>> > >> {{=BR(5)}}
>> > >>
>> > >> could output <BR><BR><BR><BR><BR>
>> > >>
>> > >> This works out since the BR tag can't have any components
>> > >> anyway.
>> > >>
>> > >> Just a thought. I find it useful at times.
>> > >>
>> > >> Tobiah
>> > >>
>> > >
>> > >
>> >
>> > --
>> >
>> >
>> >
>>
>>
--