noparse tag - advice needed

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/59405?pagenum=1
05 November 2025, 11:08

Topic


MarcelG
noparse tag - advice needed
14 September 2005, 05:27


I'm working on the feature to remove all formatting/forumcode parsing from the code box. I'm coming a long way, but I'm running into this issue ;
Before inserting the string into the db, the function checkurls replaces all instances &# with #. Wouldn't it be just as 'safe' to replace it with it's ascii entity equivalent ? So, instead of replacing &# with #, you'd replace &# with &#
Any feedback on this would be appreciated.<

 

© 2000-2021 Snitz™ Communications