Re: [htdig] Preventing htdig reading a $ in a template...


Subject: Re: [htdig] Preventing htdig reading a $ in a template...
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Thu Apr 13 2000 - 10:22:59 PDT


According to James Rigg:
> Is there a way of escaping a $ in a template to prevent htdig thinking
> it is a command for it to process?
> I have a JavaScript in a page which refers to a URL and passes a $ as
> part of a parameter. htdig strips out the $ and then the page barfs a
> JavaScript error because the script has been tampered with...

Yes, you must precede it with a backslash: \$ will be taken as a literal $ .
We really should describe this better in hts_templates.html.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Thu Apr 13 2000 - 08:08:18 PDT