diff options
author | Martin Peres <martin.peres@linux.intel.com> | 2016-01-20 12:06:04 +0200 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2016-01-20 12:13:45 +0200 |
commit | 00ceec2711b4bd66393519275271a170cc5b6f1c (patch) | |
tree | b6258cce3bd1c29042fe6839a9db9a795f7e1edc | |
parent | 4b33d7429c3769ede55033becaa8272a022b20bc (diff) |
compare_reports: handle bugs with " in their URL
-rwxr-xr-x | stats/compare_reports.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stats/compare_reports.py b/stats/compare_reports.py index 751a39a..000944a 100755 --- a/stats/compare_reports.py +++ b/stats/compare_reports.py @@ -349,7 +349,7 @@ html_template=""" % if len(db["commits"][commit]['commit'].bugs) > 0: <tr><td><b>Referenced bugs</b></td><td><ul>\\ % for bug in db["commits"][commit]['commit'].bugs: -<li><a href='${bug}' target='_blank'>${bug}</a></li>\\ +<li><a href='${bug.replace('"', '"')}' target='_blank'>${bug.replace('"', '"')}</a></li>\\ % endfor </ul></td></tr>\\ % endif |