The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
) and that still doesn't do anything as the original text I'm giving the post doesn't seem to have the problem. It seems like it's being "entitied" with the post datamanager, or am I just missing something here?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:
|