diff options
-rw-r--r-- | wikimini/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wikimini/__init__.py b/wikimini/__init__.py index ca8bfab..e6bc513 100644 --- a/wikimini/__init__.py +++ b/wikimini/__init__.py @@ -191,7 +191,7 @@ def _convert(obj: Union[mwp.nodes.Node, mwp.wikicode.Wikicode]) -> str: return render_cite_book(obj) elif name.startswith("ipa"): return "pronounced [{}]".format(_convert(obj.params[0].value)) - elif name == "main": + elif name in {"main", "main article"}: return render_main(obj) else: return default(obj) |