From: Vincent Vanwaelscappel Date: Tue, 27 May 2025 14:45:03 +0000 (+0200) Subject: #7571 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=83ba3d31c893442bcbad16d269d1cb37a7ac0c79;p=fluidbook-toolbox.git #7571 @0.25 --- diff --git a/app/Fluidbook/Link/LinksData.php b/app/Fluidbook/Link/LinksData.php index dde655d9e..ada8f99c9 100644 --- a/app/Fluidbook/Link/LinksData.php +++ b/app/Fluidbook/Link/LinksData.php @@ -715,12 +715,14 @@ class LinksData $k = 0; foreach ($cols as $col => $default) { if (isset($line[$k])) { + $v = $line[$k]; + $v = str_replace("§!§", "\n", $v); if (in_array($col, $numbers)) { - $link[$col] = (float)str_replace(',', '.', $line[$k]); + $link[$col] = (float)str_replace(',', '.', $v); } else if (in_array($col, $booleans)) { - $link[$col] = ($line[$k] == '1'); + $link[$col] = ($v == '1'); } else { - $link[$col] = $line[$k]; + $link[$col] = $v; } } else { $link[$col] = $default;