Htmls set by players should not contain any tags.

This commit is contained in:
MobiusDevelopment
2021-09-22 11:22:23 +00:00
parent 9093564d49
commit d718d914de
46 changed files with 92 additions and 46 deletions

View File

@ -123,7 +123,8 @@ public class Post
return "";
}
return _postText;
// Returns text without tags.
return _postText.replaceAll("<.*?>", "");
}
}

View File

@ -1245,7 +1245,8 @@ public class Clan implements IIdentifiable, INamable
return "";
}
return _notice;
// Returns text without tags.
return _notice.replaceAll("<.*?>", "");
}
private void restoreSkills()