The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
|||
|
|||
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).
|
#3
|
|||
|
|||
Quote:
EDIT: found out they were being sanitized somewhere else and I didn't even notice, nevermind :| |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|