Commit 1e7e71f8 authored by Michal Čihař's avatar Michal Čihař

Show source new lines

parent 8e60f0cb
......@@ -59,6 +59,7 @@ ul.breadcums li {
}
.hlspace {
border-bottom: 1px dotted red;
color: red;
white-space: pre;
display: inline-block;
}
......
......@@ -32,7 +32,7 @@ def fmttranslation(value, language=None):
value = '<span class="pluraltxt">%s</span><br />' % language.get_plural_label(idx)
else:
value = ''
value += '<br />'.join(paras)
value += '<span class="hlspace">\\n</span><br />'.join(paras)
parts.append(value)
value = '<hr />'.join(parts)
return mark_safe(value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment