mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/15637] Remove trailing space from description
PHPBB3-15637
This commit is contained in:
parent
245f4df47c
commit
eedcb3bbe1
1 changed files with 6 additions and 0 deletions
|
@ -281,6 +281,12 @@ class php_exporter
|
||||||
$description_line_num++;
|
$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));
|
$description = trim(implode('<br/>', $description_lines));
|
||||||
|
|
||||||
if (isset($this->events[$this->current_event]))
|
if (isset($this->events[$this->current_event]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue