diff --git a/r2/r2/templates/comment.xml b/r2/r2/templates/comment.xml index 0299e8850..6cf4288a8 100644 --- a/r2/r2/templates/comment.xml +++ b/r2/r2/templates/comment.xml @@ -22,6 +22,7 @@ <%! from r2.lib.filters import safemarkdown + from r2.lib.template_helpers import add_sr %> @@ -32,12 +33,14 @@ else: author = thing.author.name body = thing.body + + permalink = add_sr(thing.permalink, force_hostname = True) %> - ${thing.permalink} + ${permalink} ${author} ${_("on")} ${thing.link.title} - ${thing.permalink} + ${permalink} ${thing._date.isoformat()}-0700 ${body|h}