summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wikimini/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wikimini/__init__.py b/wikimini/__init__.py
index 790170f..12c3f31 100644
--- a/wikimini/__init__.py
+++ b/wikimini/__init__.py
@@ -162,7 +162,7 @@ def _convert(obj: Union[mwp.nodes.Node, mwp.wikicode.Wikicode]) -> str:
name = str(obj.name).strip().lower()
if name in {"cvt", "convert"}:
return render_convert(obj)
- elif name == "lang":
+ elif name in {"lang", "script"}:
return _convert(obj.params[1].value)
elif name in {"reign", "r.", "ruled", "rexit"}:
return render_reign(obj)