Skip to content

Commit 03045d3

Browse files
committed
Merge changes with nested link fixes
1 parent 37f93a2 commit 03045d3

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

lib/html_parser.dart

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -431,15 +431,16 @@ class HtmlParser extends StatelessWidget {
431431
key: AnchorKey.of(key, tree),
432432
cursor: SystemMouseCursors.click,
433433
child: MultipleTapGestureDetector(
434-
onTap: _onAnchorTap != null
435-
? () => _onAnchorTap!(tree.href, context, tree.attributes, tree.element)
436-
: null,
437-
child: GestureDetector(
438-
key: AnchorKey.of(key, tree),
439-
onTap: _onAnchorTap != null
440-
? () => _onAnchorTap!(tree.href, context, tree.attributes, tree.element)
441-
: null,
442-
child: (childSpan as WidgetSpan).child,
434+
onTap: _onAnchorTap != null
435+
? () => _onAnchorTap!(tree.href, context, tree.attributes, tree.element)
436+
: null,
437+
child: GestureDetector(
438+
key: AnchorKey.of(key, tree),
439+
onTap: _onAnchorTap != null
440+
? () => _onAnchorTap!(tree.href, context, tree.attributes, tree.element)
441+
: null,
442+
child: (childSpan as WidgetSpan).child,
443+
),
443444
),
444445
),
445446
);

0 commit comments

Comments
 (0)