Page 1 of 1

IE javascript and .pasteHTML

Posted: Sat Sep 09, 2006 8:22 pm
by Shendemiar
Im trying to make valid xhtml, but the .pasteHTML cuts corners... taking quotes off from

Code: Select all

target="stuff"
making it

Code: Select all

target=stuff
while quotes around

Code: Select all

href="stuff"
still remains... any ideas?

Posted: Sat Sep 09, 2006 8:27 pm
by feyd
Lose target altogether, they're invalid that I remember.

Posted: Sat Sep 09, 2006 9:07 pm
by Shendemiar
I guess Ill just have to use some peculiar string to represent quotes in database and in wysiwyg, and when the pages in real use, php-process them before sending it out to browser... It aint pretty but it'll do the job. :roll: