can someone e-mailed the current report.php with any changes?
In version 1.4.9 there are line breaks in the csv export.
Can you give some more details? Are the line breaks in the header row or the data?
You seem to have CSS turned off.
Please don't fill out this field.
the problem is in the data. If the description of a new line is entered, then I have in Excel 2003 when importing csv files also a line break, and the columns are clearly displayed with each other.
Here's an example, see pdf-file. The yellow cells contain a line break and then move up one line. Thus, the messages are written in red all wrong.
The line in turquoise are the column names and the orange cell is correct.
I hope you recognize the problem. in the report.csv i don t need ja line break.
What better place to filter out the line breaks in the string from the description?
I solved the problem for me as follows:
I added the following line:
$string = str_replace(array("\r\n","\n\r", "\n", "\r"), ' ', $string);
see source code
$string = mrbs_nl2br(htmlspecialchars($string));
// $string = analyzer ($string);
// var_dump(analyzer ($string));
$string = str_replace('"', '""', $string);
----> $string = str_replace(array("\r\n","\n\r", "\n", "\r"), ' ', $string); // NEW replace line break
// echo "$string <br>";
default: // do nothing
Sign up for the SourceForge newsletter: