jgm / pandocfilters

A python module for writing pandoc filters, with a collection of examples
BSD 3-Clause "New" or "Revised" License
512 stars 111 forks source link

Anybody have comments.py example working? #6

Closed RichardDooling closed 10 years ago

RichardDooling commented 10 years ago

I get the following error when I run the script on a markdown file containing RawBlocks and the proper here and here tags.

UnboundLocalError: local variable 's' referenced before assignment

jgm commented 10 years ago

Be sure you're using the most recent versions of pandoc and the pandocfilters library.

+++ Rick Dooling [Dec 03 13 05:52 ]:

I get the following error when I run the script on a markdown file containing RawBlocks and the proper here and

here tags. UnboundLocalError: local variable 's' referenced before assignment — Reply to this email directly or [1]view it on GitHub. [xJAuenYDiIoVt3LF3y6841SP4GZT_OUqzJ3e3eOKEdTdhfEhzxBKMrTFtHLxYAU6.gif] References 1. https://github.com/jgm/pandocfilters/issues/6
RichardDooling commented 10 years ago

Got it! Thanks. Works fine.