1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-20 23:51:28 +01:00

[ticket/15637] Fixed removing white-spaces from description line

PHPBB3-15637
This commit is contained in:
kasimi 2018-07-07 16:10:23 +02:00
parent 21faf69d31
commit 1c8570d0f5
No known key found for this signature in database
GPG Key ID: 3163AB573241193A

View File

@ -268,7 +268,8 @@ class php_exporter
while (true)
{
$description_line = substr(trim($this->file_lines[$description_line_num]), strlen('* '));
$description_line = substr(trim($this->file_lines[$description_line_num]), strlen('*'));
$description_line = trim(str_replace("\t", " ", $description_line));
// Reached end of description if line is a tag
if (strlen($description_line) && $description_line[0] == '@')