def METHOD_NAME(self):
    self.assertMarkdownRenders(
        """![Text](http://link.com/with spaces'.png"and quotes" 'and title") more text""",
        """<p><img alt="Text" src="http://link.com/with spaces'.png" title="and quotes&quot; 'and title" />"""
        """ more text</p>"""
    )