erikrose/mediawiki-parser — pull request #40 by cburgmer (2012-04-16 06:24:32+00:00)
Title: Fix rendering of h[1-6] titles in text post-processing

This fixes a bug with the access pattern described in the README under "Example for text" when given the wikitext.txt as source.

It would fail with:

File "/tmp/pijnu/library/node.py", line 257, in
value = ''.join(item.leaf() for item in self.value)
AttributeError: 'str' object has no attribute 'leaf'