On Tuesday 17. November 2009 19.08.08 Dale Newfield wrote:
> Chris Pratt wrote:
> > Or even better, add an escape attribute that takes as it's values "html",
> > "xml", or "javascript".  It would be very nice to have it be able to
> > properly encode at least single and double quotes in JavaScript as well as
> > HTML and XML, and using a more generic and extensible attribute name is
> > always a good idea.
> 
> For example, it could even be implemented such that an attribute 
> escape="javascript,xml" allows the specification of multiple escape 
> mechanisms including an ordering in which they'll be applied.

+1

-- 
Andreas Joseph Krogh <[email protected]>
Senior Software Developer / CTO
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Rosenholmveien 25       | know how to do a thing and to watch         |
1414 Trollåsen          | somebody else doing it wrong, without       |
NORWAY                  | comment.                                    |
                        |                                             |
Tlf:    +47 24 15 38 90 |                                             |
Fax:    +47 24 15 38 91 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to