'Test TOC Anchorlink with double inline code.'

def testAnchorLinkWithDoubleInlineCode(self):

    md = markdown.Markdown(extensions=[markdown.extensions.toc.TocExtension(anchorlink=True)])
    text = u'#    This    is    `code`    and    `this`    too.'
    self.assertEqual(md.convert(text), u'<h1    id="this-is-code-and-this-too"><a    class="toclink"    href="#this-is-code-and-this-too">This    is    <code>code</code>    and    <code>this</code>    too.</a></h1>')
