hello, the dtml-var <dtml-var sequence-query> has an & when i view its html code. html specification need this to be & and therefore it cannot be validated by the validator of w3.org how do i convert the & of the dtml-var sequence-query to & ? i tried <dtml-var sequence-query html_quote> but it did not work.... thanks __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html
sungmook@yahoo.com wrote:
hello,
the dtml-var <dtml-var sequence-query> has an & when i view its html code. html specification need this to be & and therefore it cannot be validated by the validator of w3.org how do i convert the & of the dtml-var sequence-query to & ? i tried <dtml-var sequence-query html_quote> but it did not work....
<dtml-var "_.str(_['sequence-query']).replace('&','&')"> Regards, -- Jaroslav Lukeš
<dtml-var "_.str(_['sequence-query']).replace('&','&')">
I see, what if I want to replace " to " ? i tried <dtml-var "_.str(_['sequence-query']).replace('&','&').replace('"','&qout;')"> but obviously it did not work... __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25� http://photos.yahoo.com/ph/print_splash
sungmook@yahoo.com wrote:
I see, what if I want to replace " to " ? i tried <dtml-var "_.str(_['sequence-query']).replace('&','&').replace('"','&qout;')">
but obviously it did not work...
<dtml-var "_.str(_['sequence-query']).replace('&','&')" html_quote> OR <dtml-var "_.str(_['sequence-query']).replace('&','&').replace('\"','&qout;')"> -- Jaroslav Lukeš -- Tento e-mail nemůže obsahovat VIRY jelikož nepocházi z virózního systému M$ Windows!
participants (2)
-
Jaroslav Lukesh -
sungmook@yahoo.com