Implements a XML/HTML/XHTML Markup safe string for Python