![]() |
htmlentities and datamanagers
Hi all, ran into a bit of a problem here,
Trying to insert some information I'm getting from IMDb into a post but whenever it has certain characters like an apostrophe it converts it into it's entity counterpart? (') Any idea how to prevent this.. is there a variable I need to pass into the datamanager? Tried html_entity_decode when I set the pagetext in the DM but it doesn't have the "entities" yet so it isn't decoding anything... Thanks. (here's a snippet of what's going on) PHP Code:
|
According to the doc for html_entity_decode (http://us2.php.net/manual/en/functio...ity-decode.php), by default it doesn't convert single quotes (ENT_COMPAT), so maybe that's the problem? (Although you said "certain characters", so if ' isn't the only one, maybe that's not it).
|
Quote:
EDIT: found out they were being sanitized somewhere else and I didn't even notice, nevermind :| |
All times are GMT. The time now is 01:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|