Do you need strip all tags, but leave > as it is?
- strip all tags, get output
- html decode output of step 1, and pass that data to misaka
Simple way for step 2:
output.replace('>', '>')
More professional
import HTMLParser
h = HTMLParser.HTMLParser()
s = h.unescape(sanitized user input)