If I select the plaintext output on XML output I find it double encodes things like & and –. So currently it would output –.

Removing the check_plain(); function on line 25 of the views-views-xml-style-raw.tpl.php seems to fix this issue, however I'm not sure if it has security consequences?

Please advise

Comments

allisterbeharry’s picture

Assigned: Unassigned » allisterbeharry
Status: Active » Postponed (maintainer needs more info)

Could you checkout the latest code and see if it's fixed? I believe this had to do with the order of the two functions - the correct order is check_plain(strip_tags(.. but I think in the previous dev release it was reversed like this: (strip_tag(check_plain(....

jdelaune’s picture

Nope still have to remove the function in the latest dev branch.

allisterbeharry’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in 6.x-1.0-beta1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.