Issue 4115: Events are now formatted better for Diaspora
This commit is contained in:
parent
ca840f7ed1
commit
052ad155a2
2 changed files with 4 additions and 8 deletions
|
@ -40,7 +40,7 @@ function format_event_html($ev, $simple = false) {
|
|||
if ($simple) {
|
||||
$o = "<h3>" . BBCode::convert($ev['summary']) . "</h3>";
|
||||
|
||||
$o .= "<div>" . BBCode::convert($ev['desc']) . "</div>";
|
||||
$o .= "<p>" . BBCode::convert($ev['desc']) . "</p>";
|
||||
|
||||
$o .= "<h4>" . L10n::t('Starts:') . "</h4><p>" . $event_start . "</p>";
|
||||
|
||||
|
@ -49,7 +49,7 @@ function format_event_html($ev, $simple = false) {
|
|||
}
|
||||
|
||||
if (strlen($ev['location'])) {
|
||||
$o .= "<h4>" . L10n::t('Location:') . "</h4><p>" . $ev['location'] . "</p>";
|
||||
$o .= "<h4>" . L10n::t('Location:') . "</h4><p>" . BBCode::convert($ev['location']) . "</p>";
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue