Попробовал так, но опять на странице отваливаются стили. Что может быть не так?
Привожу весь код list.tpl
{foreach from=$commentlist item=comment}
<li {$comment->getDebugAttributes()}>
<div class="right bg">
<div class="rating"><span class="value mark{$comment.rate}"></span></div>
<span class="commentsCount">{$comment->getRateText()}</span>
</div>
<div class="left">
<div class="info">
<span class="date">{$comment.dateof|dateformat:"@date @time"}</span>
<span class="user">{$comment.user_name|escape}</span>
</div>
<p class="message"><span class="subTitle">Достоинства:</span> {htmlspecialchars_decode($comment.positive|escape)}</p>
{if !empty(htmlspecialchars_decode($comment.negative|escape))}<p class="message"><span class="subTitle">Недостатки:</span> {htmlspecialchars_decode($comment.negative|escape)}</p>{/if}
<p class="message"><span class="subTitle">Общие впечатления:</span> {htmlspecialchars_decode($comment.message|escape)}</p>
<div class="ulCommentVote">
Оцените отзыв:
<div class="ulVoteWrapper">
<span data-class="#ulCotesCount{$comment.id}" data-href="{$router->getUrl('ulcomments-block-comments', ['_block_id'=>$this_controller->getBlockId(), 'vote'=>'plus', 'comment_id'=>$comment.id])}" class="likeButtons like"></span>
<span id="ulCotesCount{$comment.id}" class="votesCount">{$comment.ulvotes}</span>
<span data-class="#ulCotesCount{$comment.id}" data-href="{$router->getUrl('ulcomments-block-comments', ['_block_id'=>$this_controller->getBlockId(),'vote'=>'minus', 'comment_id'=>$comment.id])}" class="likeButtons dislike"></span>
</div>
</div>
</div>
</li>
{/foreach}