Pass href to mention chip, fixing some mentions

This commit is contained in:
Henry Hiles 2026-04-04 18:36:20 -04:00
commit fd4b16c700
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 9 additions and 6 deletions

View file

@ -60,7 +60,9 @@ class Html extends ConsumerWidget {
"a" =>
element.attributes["href"]?.mention == null
? null
: InlineCustomWidget(child: MentionChip(element.text)),
: InlineCustomWidget(
child: MentionChip(element.attributes["href"]!),
),
"img" =>
src == null