Compare commits

...

2 Commits

Author SHA1 Message Date
24e1177c45 Merge pull request 'Use FILTER html_line_break to format comments' (#207) from I206-fix-episode-page-comment-formatting into main
Reviewed-on: #207
2024-09-30 16:24:29 +00:00
f377f56002
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.
2024-09-29 20:10:20 -04:00

View File

@ -56,8 +56,8 @@ Subscribe to the comments <a href="<!--% absolute_path(baseurl) %-->comments.rss
<!--% FOREACH comment IN comments_result %--> <!--% 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> <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> <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 %--> <!--% comment_index = comment_index + 1 %-->
<!--% END %--> <!--% END %-->
<h2>Leave Comment</h2> <h2>Leave Comment</h2>