diff options
Diffstat (limited to 'utils.jl')
-rw-r--r-- | utils.jl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils.jl b/utils.jl index f1cba1d..8383740 100644 --- a/utils.jl +++ b/utils.jl @@ -22,7 +22,11 @@ function render_comments(template) readchomp(`formbox $mbox $(message_id()) $template_path`) end -hfun_comments_rendered() = render_comments("comment.html") +function hfun_comments_rendered() + return replace(render_comments("comment.html"), + "<pre><code>" => "<pre><code class=plaintext>") +end + hfun_comment_rss_feed_url() = joinpath(dirname(locvar(:fd_full_url)), "comments.xml") |