tatuylonen / wikitextprocessor

Python package for WikiMedia dump processing (Wiktionary, Wikipedia etc). Wikitext parsing, template expansion, Lua module execution. For data extraction, bulk syntax checking, error detection, and offline formatting.
Other
90 stars 23 forks source link

Only parse `----` as horizontal rule if it's at the start of line #291

Closed xxyzz closed 1 month ago

xxyzz commented 1 month ago

https://en.wikipedia.org/wiki/Help:Wikitext#Horizontal_rule

GitHub issue tatuylonen/wiktextract#536

kristian-clausal commented 1 month ago

Good catch!