X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=inline;f=src%2Fmain%2Fresources%2Ftemplates%2Finvalid.html;h=922829cd0f7eefc09f5af6424c9299c693b74c0d;hb=9f6688e2081bc08459bb1be128007ff7067e8c2c;hp=ea97d002e593e4c0b3379482456b95f93a0fa5ff;hpb=4f92a116596bf5d42c5b8beadb5df2bc8149e809;p=Sone.git diff --git a/src/main/resources/templates/invalid.html b/src/main/resources/templates/invalid.html index ea97d00..922829c 100644 --- a/src/main/resources/templates/invalid.html +++ b/src/main/resources/templates/invalid.html @@ -3,13 +3,13 @@
<% message|substring start=1|parse>
+ <%if message|substring start==0 length==1|match value=='!'> +<% message|substring start==1|parse|render>
<%else> -<% message|parse>
+<% message|parse|render>
<%/if> <%foreachelse> -<%= Page.Invalid.Text|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>
+<%= Page.Invalid.Text|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''>
<%/foreach> <%include include/tail.html>