From the monthly archives: December 2009
There are a couple posts out there that discuss stripping tags with html5lib, but they seem intent on preserving the “acceptable elements” such as <span> and <code>. This is fine unless you really want to friggin’ strip out the tags, like I needed for Emend. The following is my solution. Source code for stripping tags [...]