fix: Fixes mobile titles not displaying properly (#1149)
This commit is contained in:
parent
42f2c7f6ae
commit
b8146f26f1
6 changed files with 55 additions and 36 deletions
|
|
@ -46,7 +46,7 @@ namespace Server.Engines.Help
|
|||
10,
|
||||
280,
|
||||
20,
|
||||
$"<basefont color=#A0A0FF><center>SPEECH LOG - {playerName} (<i>{Utility.FixHtml(playerAccount)}</i>)</center></basefont>"
|
||||
$"<basefont color=#A0A0FF><center>SPEECH LOG - {playerName} (<i>{Utility.FixHtmlFormattable(playerAccount)}</i>)</center></basefont>"
|
||||
);
|
||||
|
||||
var lastPage = (log.Count - 1) / MaxEntriesPerPage;
|
||||
|
|
|
|||
|
|
@ -114,11 +114,11 @@ public partial class Guildstone : Item, IAddon, IChoppable
|
|||
}
|
||||
|
||||
// list.Add( 1060802, Utility.FixHtml( name ) ); // Guild name: ~1_val~
|
||||
list.Add(1060802, $"{Utility.FixHtml(name)} [{Utility.FixHtml(abbr)}]");
|
||||
list.Add(1060802, $"{Utility.FixHtmlFormattable(name)} [{Utility.FixHtmlFormattable(abbr)}]");
|
||||
}
|
||||
else if (_guildName != null && _guildAbbrev != null)
|
||||
{
|
||||
list.Add(1060802, $"{Utility.FixHtml(_guildName)} [{Utility.FixHtml(_guildAbbrev)}]");
|
||||
list.Add(1060802, $"{Utility.FixHtmlFormattable(_guildName)} [{Utility.FixHtmlFormattable(_guildAbbrev)}]");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -254,11 +254,11 @@ public partial class GuildstoneDeed : Item
|
|||
}
|
||||
|
||||
// list.Add( 1060802, Utility.FixHtml( name ) ); // Guild name: ~1_val~
|
||||
list.Add(1060802, $"{Utility.FixHtml(name)} [{Utility.FixHtml(abbr)}]");
|
||||
list.Add(1060802, $"{Utility.FixHtmlFormattable(name)} [{Utility.FixHtmlFormattable(abbr)}]");
|
||||
}
|
||||
else if (_guildName != null && _guildAbbrev != null)
|
||||
{
|
||||
list.Add(1060802, $"{Utility.FixHtml(_guildName)} [{Utility.FixHtml(_guildAbbrev)}]");
|
||||
list.Add(1060802, $"{Utility.FixHtmlFormattable(_guildName)} [{Utility.FixHtmlFormattable(_guildAbbrev)}]");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue