peter17 / mediawiki-parser

An experimental Python parser for MediaWiki syntax with a focus on extensibility and comprehensibility
GNU General Public License v3.0
59 stars 18 forks source link

Fix a bug when parsing list elements at the end of a document #5

Closed Shados closed 5 years ago

Shados commented 5 years ago

Currently, you will get a parser error if you have a list element at the end of a wikitext document, with no trailing newline. This fixes that.