mirror of
https://github.com/friendica/friendica
synced 2025-04-23 12:30:10 +00:00
Use constants for the BBCode modes
This commit is contained in:
parent
7b8178e046
commit
0cf517ad76
9 changed files with 48 additions and 52 deletions
|
@ -611,7 +611,7 @@ class Event
|
|||
|
||||
$title = BBCode::convert(Strings::escapeHtml($event['summary']));
|
||||
if (!$title) {
|
||||
list($title, $_trash) = explode("<br", BBCode::convert(Strings::escapeHtml($event['desc'])), 2);
|
||||
list($title, $_trash) = explode("<br", BBCode::convert(Strings::escapeHtml($event['desc'])), BBCode::API);
|
||||
}
|
||||
|
||||
$author_link = $event['author-link'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue