diff --git a/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs b/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs index 56e52680..fc6187c1 100644 --- a/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs +++ b/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs @@ -472,6 +472,8 @@ public static partial class MfmRenderer if (args.TryGetValue("color", out var color) && ValidColor(color)) el.SetAttribute("style", $"display: inline-block; color: #{color};"); + else + el.SetAttribute("style", $"display: inline-block; color: #f00;"); return el; } @@ -482,6 +484,8 @@ public static partial class MfmRenderer if (args.TryGetValue("color", out var color) && ValidColor(color)) el.SetAttribute("style", $"display: inline-block; background-color: #{color};"); + else + el.SetAttribute("style", $"display: inline-block; background-color: #f00;"); return el; }