Closed L-U-T-i closed 10 months ago
Your patch sounds good to me. Can you provide a PR for this?
I've never done anything like that, and also don't know what to do or how to do it. I am browsing github through a web browser only. Can you do it, please?
@anaselli , could you please apply @L-U-T-i 's patch? That would also help closing https://bugzilla.redhat.com/show_bug.cgi?id=2237265 . Thanks!
dnfdragora 2.1.6 has been released.
Clicking 'Update information' for a package (where update information is available) causes (quite misleading)
error / crash.
The actual culprit is the line 1115:
s += '<b>%s</b> %s'%(pkg.updateinfo[0]['id'], escape(pkg.updateinfo[0]['updated'])).replace("\n", "<br>")
which should probably be:
s += '<b>%s</b> %s'%(pkg.updateinfo[0]['id'], escape(pkg.updateinfo[0]['updated']).replace("\n", "<br>"))
This modification fixes the issue for me at least.
At the same time, I've added also some
<br>
lines to keep the spacing between the sections as when not clicked, getting the final patch: