diff --git a/primed/dbgap/tables.py b/primed/dbgap/tables.py
index 17820430..3874bd6f 100644
--- a/primed/dbgap/tables.py
+++ b/primed/dbgap/tables.py
@@ -233,10 +233,7 @@ def render_dbgap_phs(self, value):
def render_dbgap_accession(self, value, record):
return format_html(
- """
- {}
-
-
+ """{}
""".format(
record.get_dbgap_link(), value
)