Move localization parsing earlier than macro and compendium
This commit is contained in:
parent
3982850dd3
commit
ec6a94f18e
@ -36,9 +36,9 @@ def filter_vtt(text):
|
|||||||
output = f"[LOCALIZATION LOOKUP ERROR - {m.group(0)}]"
|
output = f"[LOCALIZATION LOOKUP ERROR - {m.group(0)}]"
|
||||||
return output
|
return output
|
||||||
# Template
|
# Template
|
||||||
|
text = localize_re.sub(localize_return, text) # Has to be run before Compendium and Macro replacement
|
||||||
text = compendium_re.sub(compendium_return, text)
|
text = compendium_re.sub(compendium_return, text)
|
||||||
text = macro_re.sub(macro_return, text)
|
text = macro_re.sub(macro_return, text)
|
||||||
text = localize_re.sub(localize_return, text)
|
|
||||||
return text
|
return text
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
|
Loading…
Reference in New Issue
Block a user