mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/15637] Preserve line breaks in event descriptions
PHPBB3-15637
This commit is contained in:
@@ -281,7 +281,7 @@ class php_exporter
|
||||
$description_line_num++;
|
||||
}
|
||||
|
||||
$description = trim(implode(' ', $description_lines));
|
||||
$description = trim(implode('<br/>', $description_lines));
|
||||
|
||||
if (isset($this->events[$this->current_event]))
|
||||
{
|
||||
|
@@ -57,7 +57,7 @@ class phpbb_event_php_exporter_test extends phpbb_test_case
|
||||
'file' => 'extra_description.test',
|
||||
'arguments' => array(),
|
||||
'since' => '3.1.0-b2',
|
||||
'description' => 'Description NOTE: This will also be exported',
|
||||
'description' => 'Description<br/><br/>NOTE: This will also be exported',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user