javascript - My webpage display ' and not ' -
i have php script return json, , js function parse json. in php did htmlspecialchars when display value in webpage ' isn't replace ' same " idea ?
if seeing ' on page, have double-encoded string somewhere along lines.
encoding string first time changes ' '.
encoding string second time changes ' '.
the result of see code, not char - web page converts & & visually, , ignores rest.
Comments
Post a Comment