fix some stuff (maybe?)

This commit is contained in:
Henry Hiles 2025-12-04 12:23:08 -05:00
commit 3e82faeb86
No known key found for this signature in database
10 changed files with 58 additions and 36 deletions

View file

@ -19,8 +19,6 @@ class Html extends ConsumerWidget {
return SpoilerText(text: element.text);
}
return switch (element.localName) {
"mx-reply" => SizedBox.shrink(),
"code" => CodeBlock(
element.text,
lang: element.className.replaceAll("language-", ""),