diff --git a/src/yunohost/diagnosis.py b/src/yunohost/diagnosis.py
index d8c6b5f57..9a8962ac4 100644
--- a/src/yunohost/diagnosis.py
+++ b/src/yunohost/diagnosis.py
@@ -480,6 +480,9 @@ class Diagnoser():
# In cli, we remove the html tags
if msettings.get("interface") != "api":
s = html_tags.sub('', s.replace("
","\n"))
+ else:
+ # Make it so that links open in new tabs
+ s = s.replace("