'Test TOC Permalink with single inline code.'

def testPermalinkWithSingleInlineCode(self):

    md = markdown.Markdown(extensions=[markdown.extensions.toc.TocExtension(permalink=True)])
    text = u'#    This    is    `code`.'
    self.assertEqual(md.convert(text), u'<h1    id="this-is-code">This    is    <code>code</code>.<a    class="headerlink"    href="#this-is-code"    title="Permanent    link">&para;</a></h1>')
