1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 12:22:03 +02:00

[ticket/15637] Remove trailing space from description

PHPBB3-15637
This commit is contained in:
kasimi 2018-07-07 21:53:26 +02:00
parent 245f4df47c
commit eedcb3bbe1
No known key found for this signature in database
GPG Key ID: 3163AB573241193A

View File

@ -281,6 +281,12 @@ class php_exporter
$description_line_num++;
}
// If there is an empty line between description and first tag, remove it
if (!strlen(end($description_lines)))
{
array_pop($description_lines);
}
$description = trim(implode('<br/>', $description_lines));
if (isset($this->events[$this->current_event]))