Skip to content
Snippets Groups Projects
Commit 05e676f5 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #1274 replace \n with <br>

parent 943c6c5d
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ class LinkController ...@@ -51,7 +51,7 @@ class LinkController
foreach ($arrayToFormat as $key => $value) { foreach ($arrayToFormat as $key => $value) {
$infos = $this->getDocInfos($key, $_SESSION['current_basket']['coll_id']); $infos = $this->getDocInfos($key, $_SESSION['current_basket']['coll_id']);
//print_r($infos); $infos['subject'] = preg_replace("/\r\n|\r|\n/",'<br/>',$infos['subject']);
$return .= '<div id="ged_'.$key.$sens.'" class="linkDiv">'; $return .= '<div id="ged_'.$key.$sens.'" class="linkDiv">';
$return .= '<table>'; $return .= '<table>';
$return .= '<tr>'; $return .= '<tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment