[diffoscope] 01/01: Fix unclosed element span

Emanuel Bronshtein e3amn2l-guest at moszumanska.debian.org
Tue Dec 20 01:14:54 CET 2016


This is an automated email from the git hooks/post-receive script.

e3amn2l-guest pushed a commit to branch master
in repository diffoscope.

commit 59b2d5c08de6a4d81fc86a73137b24a8ebea5fae
Author: Emanuel Bronshtein <e3amn2l at gmx.com>
Date:   Tue Dec 20 02:14:44 2016 +0200

    Fix unclosed element span
---
 diffoscope/presenters/html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/presenters/html.py b/diffoscope/presenters/html.py
index 1fe02be..a7d1be7 100644
--- a/diffoscope/presenters/html.py
+++ b/diffoscope/presenters/html.py
@@ -691,7 +691,7 @@ def output_difference(difference, print_func, css_url, directory, parents):
         print_func(u'<div class="diffheader">')
         if difference.source1 == difference.source2:
             print_func(u'<div class="diffcontrol">[−]</div>')
-            print_func(u'<div><span class="source">%s<span>'
+            print_func(u'<div><span class="source">%s</span>'
                        % html.escape(difference.source1))
         else:
             print_func(u'<div class="diffcontrol diffcontrol-double">[−]</div>')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list