Strip tags but not those inside <code>
- by dantan
I have seen some solutions, or at least tries, but none of them really work.
How do I strip all tags except those inside or [code] - and replace all the < and with < etc. in order to let js do some syntax highlighting on the output?