Monday, May 03, 2004

Ampersand Bug found in Dreamweaver MX

I nearly flung my computer out the window last Wednesday night when my carefully XHTML-compliant encoded ampersands (in anchor tags) kept reverting on their own back to single ampersands. I had set my preferences to not allow Dreamweaver to do any cleaning up it thought necessary so I was, needless to say, perplexed. (OK, I was pretty livid, and about ready to fire up FrontPage again...).

I Googled the problem and found a helpful newsgroup thread that reports this is bug within Dreamweaver and that if I change the single "&" to the encoded variety (the & and then word "amp" and then the semicolon) in the Property window it will stay. But not if I do it in the code window. I tested it myself, and, by golly, if I change my offending "&" in the Property window, sure enough, it will persist and I can validate as XHTML.

[This is better, I suppose, than FrontPage which will arbitrarily change my encoded ampersands back to single &s.]

0 Comments:

Post a Comment

<< Home