'Find code blocks and store in htmlStash.'

def run(self, root):

    blocks = root.getiterator('pre')
    for block in blocks:
        children = block.getchildren()
        if ((len(children) == 1) and (children[0].tag == 'code')):
            code = CodeHilite(children[0].text, linenos=self.config['force_linenos'][0], css_class=self.config['css_class'][0])
            placeholder = self.markdown.htmlStash.store(code.hilite(), safe=True)
            block.clear()
            block.tag = 'p'
            block.text = placeholder
