[pmwiki-devel] recipe javascript
dso
dso at moosoft.com
Sat Dec 23 12:59:47 CST 2006
I am trying to output some javascript to link to google translate. The
problem is the output is being modified thusly:
from in code:
$r .= "<script language='JavaScript'> <!-- document.write (\"<input
name=\"+$url+\" value=\"+location.href+\" type=hidden>\") // --></script>"
to generated:
<script language='<span class='wikiword'>JavaScript</span>'>
<!-- document.write ("<input name="+<a class='urllink'
href='http://www.moosoft.com/moosoft_test/Main.HomePage+'
rel='nofollow'>http://www.moosoft.com/moosoft_test/Main.HomePage+</a>"
value="+location.href+" type=hidden>") // -->
</script>
How do I keep the returned text literal? Thanks!
Daniel
--
MooSoft Development Inc
http://www.moosoft.com
More information about the pmwiki-devel
mailing list