fix: Cleans up FixHtml (#1757)
This commit is contained in:
parent
af67c48621
commit
becd7aad05
19 changed files with 69 additions and 63 deletions
|
|
@ -34,7 +34,7 @@ namespace Server.Engines.Help
|
|||
{
|
||||
Sender = sender;
|
||||
Sent = Core.Now;
|
||||
Message = Utility.FixHtml(message);
|
||||
Message = message.FixHtml();
|
||||
Type = type;
|
||||
PageLocation = sender.Location;
|
||||
PageMap = sender.Map;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace Server.Engines.Help
|
|||
10,
|
||||
280,
|
||||
20,
|
||||
$"<basefont color=#A0A0FF><center>SPEECH LOG - {playerName} (<i>{Utility.FixHtmlFormattable(playerAccount)}</i>)</center></basefont>"
|
||||
$"<basefont color=#A0A0FF><center>SPEECH LOG - {playerName} (<i>{playerAccount.FixHtmlFormattable()}</i>)</center></basefont>"
|
||||
);
|
||||
|
||||
var lastPage = (log.Count - 1) / MaxEntriesPerPage;
|
||||
|
|
@ -82,8 +82,8 @@ namespace Server.Engines.Help
|
|||
builder.AppendFormat(
|
||||
"<u>{0}</u> (<i>{1}</i>): {2}",
|
||||
name,
|
||||
Utility.FixHtml(account),
|
||||
Utility.FixHtml(speech)
|
||||
account.FixHtml(),
|
||||
speech.FixHtml()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue