开发者

Wordpress - HTML Entities are being Displayed

开发者 https://www.devze.com 2023-01-11 22:38 出处:网络
I am currently developing a Wordpress site, and everytime a comment, page or article is added/retrieved, the HTML entites in the text are encoded, particulary single quotes/double quotes, like #089A.

I am currently developing a Wordpress site, and everytime a comment, page or article is added/retrieved, the HTML entites in the text are encoded, particulary single quotes/double quotes, like #089A.

Is there a setting or something that can be enabled/disabled that does this? I've tried the u开发者_运维知识库sual Google searches but alas I can't find anything.

Cheers,

MiG


Just to update this. I've been looking at the site today and it seems that the offending HTML entitiy is "&#8211"

The posts are being returned via AJAX in a JSON response and instead of seeing – I see "&#8211" plus the semi-colon.

Any reason for this?

Cheers,

MiG

0

精彩评论

暂无评论...
验证码 换一张
取 消