Htmls set by players should not contain any tags.
This commit is contained in:
@@ -123,7 +123,8 @@ public class Post
|
||||
return "";
|
||||
}
|
||||
|
||||
return _postText;
|
||||
// Returns text without tags.
|
||||
return _postText.replaceAll("<.*?>", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -929,7 +929,8 @@ public class Clan
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
// Returns text without tags.
|
||||
return _notice.replaceAll("<.*?>", "");
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
|
Reference in New Issue
Block a user