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:
parent
245f4df47c
commit
eedcb3bbe1
@ -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]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user