]> git.ipfire.org Git - thirdparty/patchwork.git/commit
templatetags: fix syntax display of CRLF's
authorAndy Doan <andy.doan@linaro.org>
Tue, 16 Feb 2016 21:20:00 +0000 (15:20 -0600)
committerStephen Finucane <stephen.finucane@intel.com>
Wed, 17 Feb 2016 21:18:11 +0000 (21:18 +0000)
commit7591971245aa8d43b21f1f429a223fc0792f2274
treee323c2e4d75eb3dcdc3e279acedbc84245da9cd4
parent7667078e643e02abc4475742894582d2fd3aab54
templatetags: fix syntax display of CRLF's

Patches that include CRLF's include extra lines in the UI. Rather than
each patch line being:

 <span ...>content</span>

Its source will be:
 <span ...>content
 </span>

Signed-off-by: Andy Doan <andy.doan@linaro.org>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/templatetags/syntax.py