IE javascript and .pasteHTML

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

IE javascript and .pasteHTML

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Lose target altogether, they're invalid that I remember.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post 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:
Post Reply