diff --git a/lib/utils/html/html_muncher.dart b/lib/utils/html/html_muncher.dart
index a9d041cf..f5959535 100644
--- a/lib/utils/html/html_muncher.dart
+++ b/lib/utils/html/html_muncher.dart
@@ -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? _buildH1(uh.Element element) {