diff --git a/src/ajax/mobidetails.php b/src/ajax/mobidetails.php index 3be20643..5d091e21 100644 --- a/src/ajax/mobidetails.php +++ b/src/ajax/mobidetails.php @@ -4,8 +4,8 @@ * LEIDEN OPEN VARIATION DATABASE (LOVD) * * Created : 2020-10-01 - * Modified : 2024-05-07 - * For LOVD : 3.0-30 + * Modified : 2024-07-03 + * For LOVD : 3.0-31 * * Copyright : 2004-2024 Leiden University Medical Center; http://www.LUMC.nl/ * Programmer : Ivo F.A.C. Fokkema @@ -197,7 +197,7 @@ print(' $("#mobidetails_dialog").html("Error while requesting MobiDetails to annotate this variant.
' . implode(array_map(function ($sKey, $sVal) { - return $sKey . ': ' . $sVal . '
'; + return $sKey . ': ' . trim($sVal) . '
'; }, array_keys($aJSON), array_values($aJSON))) . '"); // Select the right buttons.