Pass href to mention chip, fixing some mentions
This commit is contained in:
parent
a8383951ba
commit
fd4b16c700
2 changed files with 9 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue