diff --git a/ext/pools/theme.php b/ext/pools/theme.php index 5edb3625..65194103 100644 --- a/ext/pools/theme.php +++ b/ext/pools/theme.php @@ -154,8 +154,9 @@ class PoolsTheme extends Themelet { } } - $bb = new BBCode(); - $page->add_block(new Block(html_escape($pool['title']), $bb->format($pool['description']), "main", 10)); + $tfe = new TextFormattingEvent($pool['description']); + send_event($tfe); + $page->add_block(new Block(html_escape($pool['title']), $tfe->formatted, "main", 10)); } }