Show:
General token sanitizer. Strips out (or encapsulates) unsafe and disallowed tag types and attributes. Should run last in the third, synchronous expansion stage.
A large part of this code is a straight port from the PHP version.
- Source: