Shaun Mccran

My digital playground

01
J
U
L
2009

Apostrophe ( ' ) display issues

It appears that the character entity ' is not a valid HTML entity. It was just XML, and thus XHTML.

If you are using a browser that doesn't support XHTML then you probably shouldn't use it, as it will appear as a normal text string. I found this whilst testing something in IE 8, as that is not XHTML compliant.

So just use the ' character, or if you really feel that you have to escape it use:

'

Just be careful with that one, as it will cause coldFusion to flip out. Then you may need to escape your escape characters, and then where will you be?

TweetBacks
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Back to top