yui/yuidoc — pull request #200 by thomasboyt (2014-01-12 18:18:32+00:00)
Title: Fix syntax highlighting for markdown blocks

The regex that was adding the `prettyprint` class to the `

` blocks didn't take into account a `` block that had attributes (which Marked generates). This meant that Markdown syntax blocks weren't getting correctly parsed & pretty-printed. This PR fixes that with a more forgiving regex :)

(cc @stefanpenner, who notified me that it was broken)