Answering myself sort-of, I think I'm on the wrong track with html_entity_decode(). Does an HTML "entity" refer to an HTML code like <div> rather than the encoded format of characters? It seems like htmlspecialchars_decode() is actually what I'm looking for, but I'm getting the same results with that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php