changeset a6131d5922a8 in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset;node=a6131d5922a8
description:
Apply codereview and mercurial replace on msg index
diffstat:
html/msg.index.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r bef5419b2141 -r a6131d5922a8 html/msg.index.html
--- a/html/msg.index.html Mon Oct 19 10:14:46 2020 +0200
+++ b/html/msg.index.html Mon Oct 19 10:34:38 2020 +0200
@@ -28,11 +28,11 @@
</dl>
<div>
{% if msg.type == 'text/markdown' %}
- <div class="msg">{{ msg.content.markdown()|u|safe }}</div>
+ <div class="msg">{{
utils.codereview_replace(utils.mercurial_replace(msg.content.markdown()))|u|safe
}}</div>
{% elif msg.type == 'text/x-rst' %}
- <div class="msg">{{ msg.content.rst()|u|safe }}</div>
+ <div class="msg">{{
utils.codereview_replace(utils.mercurial_replace(msg.content.rst()))|u|safe
}}</div>
{% else %}
- <pre class="msg">{{ msg.content.hyperlinked()|u|safe }}</pre>
+ <pre class="msg">{{
utils.codereview_replace(utils.mercurial_replace(msg.content.hyperlinked()))|u|safe
}}</pre>
{% endif %}
</div>
</div>