'Test that unsafe HTML gets escaped in safe_mode.'

def testUnsafeHtmlInSafeMode(self):

    output = markdown.markdown(u'foo', extensions=[self.build_extension()], safe_mode=u'escape')
    self.assertEqual(output, u'<p>&lt;script&gt;print(&quot;evil&quot;)&lt;/script&gt;</p>')
