diff --git a/deluge/ui/gtkui/details_tab.py b/deluge/ui/gtkui/details_tab.py
index e4ddb8288..e863b51b7 100644
--- a/deluge/ui/gtkui/details_tab.py
+++ b/deluge/ui/gtkui/details_tab.py
@@ -105,9 +105,9 @@ class DetailsTab(Tab):
if widget[0].get_text() != txt:
if widget[2][0] == 'comment' and is_url(txt):
- widget[0].set_markup('%s' % (txt, txt))
+ widget[0].set_markup('%s' % (txt, txt.replace('&', '&')))
else:
- widget[0].set_markup(txt)
+ widget[0].set_markup(txt.replace('&', '&'))
def clear(self):
for widget in self.label_widgets: