Mark Posted November 21, 2006 Share Posted November 21, 2006 I think HTML entities should not be parsed within code boxes. If we're posting HTML source code, how are we suppose to demonstrate entities?In the below I am going to type the HTML entity for the letter A;AAI'm not sure quite if this would work, but surely this would do it:$text = preg_replace("&","&",$text);? Link to comment Share on other sites More sharing options...
bfarber Posted November 22, 2006 Share Posted November 22, 2006 If we did a mass preg_replace on entities, it would destroy all formatted content. I do see what you are saying though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.