OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f99d3
)
BugTrack/560 Generate readable HTML source for table format
author
umorigu
<umorigu@gmail.com>
Tue, 13 Feb 2018 15:16:18 +0000
(
00:16
+0900)
committer
umorigu
<umorigu@gmail.com>
Tue, 13 Feb 2018 15:16:18 +0000
(
00:16
+0900)
Append NewLine code after each TR element.
lib/convert_html.php
patch
|
blob
|
history
diff --git
a/lib/convert_html.php
b/lib/convert_html.php
index
a82f5a4
..
05a88cc
100644
(file)
--- 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);
}