Skip to content

Commit

Permalink
fix(html): remove trailing space in td
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Sep 30, 2024
1 parent dfd043e commit 3a0d868
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/utils/html/html_muncher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,10 @@ final class _Muncher with LoggerMixin {
if (ret == null) {
return null;
}
return [...ret, emptySpan];
// Removed trailing '\n' here to fix white space found in tables.
// Add it back or think in another way if caused other issues.
return ret;
}
List<InlineSpan>? _buildH1(uh.Element element) {
Expand Down

0 comments on commit 3a0d868

Please sign in to comment.