From 9508269d227be8c3f9b5424704bb1aab3f11078b Mon Sep 17 00:00:00 2001 From: umorigu Date: Wed, 14 Feb 2018 00:16:18 +0900 Subject: [PATCH] BugTrack/560 Generate readable HTML source for table format Append NewLine code after each TR element. --- lib/convert_html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/convert_html.php b/lib/convert_html.php index a82f5a4..05a88cc 100644 --- a/lib/convert_html.php +++ b/lib/convert_html.php @@ -681,7 +681,7 @@ class Table extends Element $row_string = ''; foreach (array_keys($row) as $ncol) $row_string .= $row[$ncol]->toString(); - $part_string .= $this->wrap($row_string, 'tr'); + $part_string .= $this->wrap($row_string, 'tr') . "\n"; } $string .= $this->wrap($part_string, $part); } -- 2.11.0