Add [s] to pencode. (#25001)

This commit is contained in:
Charlie Nolan
2024-04-18 12:58:04 +00:00
committed by GitHub
parent 66b5acc453
commit 74d522fe58
+2
View File
@@ -468,6 +468,8 @@
text = replacetext(text, "\[/i\]", "</I>")
text = replacetext(text, "\[u\]", "<U>")
text = replacetext(text, "\[/u\]", "</U>")
text = replacetext(text, "\[s\]", "<S>")
text = replacetext(text, "\[/s\]", "</S>")
if(findtext(text, "\[signfont\]") || findtext(text, "\[/signfont\]")) // Make sure the text is there before giving off an error
if(check_rights(R_EVENT))
text = replacetext(text, "\[signfont\]", "<font face=\"[signfont]\"><i>")