fix: Add missing <s> html tag to render

pull/1666/head
Krille 5 months ago
parent 7a47a6a595
commit a91646d2ba
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -34,6 +34,7 @@ class HtmlMessage extends StatelessWidget {
static const Set<String> allowedHtmlTags = {
'font',
'del',
's',
'h1',
'h2',
'h3',
@ -412,6 +413,7 @@ class HtmlMessage extends StatelessWidget {
'strong' => const TextStyle(fontWeight: FontWeight.bold),
'em' || 'i' => const TextStyle(fontStyle: FontStyle.italic),
'del' ||
's' ||
'strikethrough' =>
const TextStyle(decoration: TextDecoration.lineThrough),
'u' => const TextStyle(decoration: TextDecoration.underline),

Loading…
Cancel
Save