Skip to content

Commit

Permalink
fix(pkgs): Do not append line feed after font type nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Feb 16, 2024
1 parent 3eb2278 commit 614b6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/packages/html_muncher/lib/src/html_muncher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class Muncher {

state.inDiv = oldInDiv;
// Restore color.
return TextSpan(children: [ret, const TextSpan(text: '\n')]);
return ret;
}

InlineSpan _buildStrong(uh.Element element) {
Expand Down

0 comments on commit 614b6a2

Please sign in to comment.