Skip to content

Commit

Permalink
Merge pull request #287 from xxyzz/upper_case_safesubst
Browse files Browse the repository at this point in the history
Remove upper case substitution modifiers
  • Loading branch information
xxyzz committed Jun 6, 2024
2 parents db5a844 + 491de3d commit 03caf7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wikitextprocessor/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,9 @@ def expander(arg: str) -> str:
tname = (
tname.strip()
.removeprefix("subst:")
.removeprefix("SUBST:")
.removeprefix("safesubst:")
.removeprefix("SAFESUBST:")
)

# Check if it is a parser function call
Expand Down

0 comments on commit 03caf7f

Please sign in to comment.