fix: Cleans up FixHtml (#1757)
This commit is contained in:
parent
af67c48621
commit
becd7aad05
19 changed files with 69 additions and 63 deletions
|
|
@ -3273,9 +3273,9 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
|||
|
||||
string suffix = hasTitle switch
|
||||
{
|
||||
true when hasGuild => $" {Title} [{Utility.FixHtmlFormattable(guild.Abbreviation)}]",
|
||||
true when hasGuild => $" {Title} [{guild.Abbreviation.FixHtmlFormattable()}]",
|
||||
true => $" {Title}",
|
||||
false when hasGuild => $" [{Utility.FixHtmlFormattable(guild.Abbreviation)}]",
|
||||
false when hasGuild => $" [{guild.Abbreviation.FixHtmlFormattable()}]",
|
||||
_ => " "
|
||||
};
|
||||
|
||||
|
|
@ -3291,16 +3291,16 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
|||
{
|
||||
if (NewGuildDisplay)
|
||||
{
|
||||
list.Add($"{Utility.FixHtmlFormattable(guildTitle)}, {Utility.FixHtmlFormattable(guild.Name)}");
|
||||
list.Add($"{guildTitle.FixHtmlFormattable()}, {guild.Name.FixHtmlFormattable()}");
|
||||
}
|
||||
else
|
||||
{
|
||||
list.Add($"{Utility.FixHtmlFormattable(guildTitle)}, {Utility.FixHtmlFormattable(guild.Name)} Guild{type}");
|
||||
list.Add($"{guildTitle.FixHtmlFormattable()}, {guild.Name.FixHtmlFormattable()} Guild{type}");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
list.Add(Utility.FixHtml(guild.Name));
|
||||
list.Add(guild.Name.FixHtml());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue