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:
@@ -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>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user