mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-28 03:31:59 +00:00
[HTML] Full spoiler support (#285)
This commit is contained in:
@@ -59,7 +59,7 @@ namespace DiscordChatExporter.Core.Rendering.Logic
|
||||
|
||||
// Spoiler
|
||||
if (formattedNode.Formatting == TextFormatting.Spoiler)
|
||||
return $"<span class=\"spoiler\">{innerHtml}</span>";
|
||||
return $"<span class=\"spoiler spoiler--hidden\"><span class=\"spoiler-text\">{innerHtml}</span></span>";
|
||||
|
||||
// Quote
|
||||
if (formattedNode.Formatting == TextFormatting.Quote)
|
||||
|
||||
Reference in New Issue
Block a user