Use FILTER html_line_break to format comments

For comments in an episode page, use the html_line_break filter
instead of the html_para filter. The html_line_break filter is
used in the comment viewer page.
This commit is contained in:
Roan Horning 2024-09-29 20:10:20 -04:00
parent 73dd71f2f0
commit f377f56002
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -56,7 +56,7 @@ Subscribe to the comments <a href="<!--% absolute_path(baseurl) %-->comments.rss
<!--% FOREACH comment IN comments_result %-->
<h5 id="comment_<!--% comment.id %-->"><a href="/eps/hpr<!--% zero_pad_left(episode.id) %-->/index.html#comment_<!--% comment.id %-->">Comment #<!--% comment_index %--></a> posted on <!--% comment.comment_timestamp %--> by <!--% comment.comment_author_name %--></h5>
<h4><!--% comment.comment_title %--></h4>
<!--% comment.comment_text FILTER html_para %-->
<p class="comment"><!--% comment.comment_text FILTER html_line_break %--></p>
<!--% comment_index = comment_index + 1 %-->
<!--% END %-->