1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

[html] - Fix 'Element li not allowed as child of element div in this context.' validation error

This commit is contained in:
Arun S. Sekher
2017-06-03 15:19:58 +04:00
parent e924b5a052
commit c80254b24f

View File

@@ -88,13 +88,13 @@ if(e_QUERY)
if ($comment_total = $sql->gen($query)) if ($comment_total = $sql->gen($query))
{ {
$text .= "<hr /><div>"; $text .= "<hr /><ul class='media-list' id='comments-container'>";
while ($row2 = $sql->fetch()) while ($row2 = $sql->fetch())
{ {
$text .= e107::getComment()->render_comment($row2, 'poll', 'comment'); $text .= e107::getComment()->render_comment($row2, 'poll', 'comment');
} }
$text .= "</div>"; $text .= "</ul>";
} }