html - & Turns into & in metadata -
i have simple problem regarding &. decided upload simple csv file insert meta title , meta description.
it uploaded sucessfully when use view source can see &
<head> <meta charset = "utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title> jack & jill </title> </head> my question how change & & ?
i tried manually inputting jack & jill. still when check view souce. still transforms &
hope can me.
my question how change
&& ?
i wouldn't, if you. & html-encoded (and xml-encoded) form of &. browser display &.
i don't know offhand whether & followed space valid in strict xml (i know html, not xml) it's reasonable always escape it, don't need worry situations like:
i love jack&jill; they're great ... jill seen entity reference without escaping.
Comments
Post a Comment