File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 25
25
<?php } ?>
26
26
<div class="c-post c-post-<?php echo $ comment ->getId () ?> " id="c-post-<?php echo $ comment ->getId () ?> ">
27
27
<div class="p-name"><?php echo $ block ->escapeHtml ($ comment ->getAuthor ()->getNickname ()) ?> </div>
28
- <div class="p-text"><?php echo $ block ->escapeHtml ($ comment ->getText ()) ?> </div>
28
+ <div class="p-text"><?php echo nl2br ( $ block ->escapeHtml ($ comment ->getText () )) ?> </div>
29
29
<div class="p-actions">
30
30
<a href="#" class="reply-action" data-comment="<?php echo $ comment ->isReply () ? $ comment ->getParentId () : $ comment ->getId () ?> " title="<?php echo __ ('Reply ' ) ?> "><?php echo __ ('Reply ' ) ?> </a>
31
31
<span class="publish-date"><?php echo $ block ->escapeHtml ($ comment ->getPublishDate ('M d, Y H:i ' )) ?> </span>
53
53
</div>
54
54
<?php } ?>
55
55
</div>
56
- </div>
56
+ </div>
You can’t perform that action at this time.
0 commit comments