[albatross-users] Consistencies in attributes and tags

Dave Cole djc at object-craft.com.au
Fri Jul 4 11:01:48 EST 2003


> There are some attributes that don't work in as many tags as I would
> like. The one that I have been irritated with was the 'noescape'
> attribute. It only applies to the <al-value> tag and not to
> <al-img>, and others.  It shouldn't be difficult to make the
> attributes consistent across all tags, where they are applicable.
> 
> This would make the <al-img> tag more useful (to me at least).
> Currently I have to ctx.locals.imgtag='<img src=...>' and expand it
> with '<al-value expr="imgtag" noescape>' rather than '<al-img
> expr="..." noescape>'.

I cannot see any problem in adding the noescape attribute to al-img.

We should probably add the ability to disable content escaping
everywhere.  What do you think Andrew?

- Dave

-- 
http://www.object-craft.com.au




More information about the Albatross-users mailing list