From 11ec813155623124638aa3a74b47885d10f51d22 Mon Sep 17 00:00:00 2001 From: Alexandre Teles Date: Mon, 22 Aug 2016 14:50:34 -0300 Subject: [PATCH] Decode HTML entities Just to allow us to use HTML in the about section. --- bl-plugins/about/plugin.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bl-plugins/about/plugin.php b/bl-plugins/about/plugin.php index 7a1e5579..bb3eccb1 100644 --- a/bl-plugins/about/plugin.php +++ b/bl-plugins/about/plugin.php @@ -18,7 +18,6 @@ class pluginAbout extends Plugin { $html .= ''; $html .= ''; $html .= ''; - $html .= '
'; $html .= ''; $html .= ''; @@ -32,10 +31,10 @@ class pluginAbout extends Plugin { $html = '
'; $html .= '

'.$this->getDbField('label').'

'; $html .= '
'; - $html .= nl2br($this->getDbField('text')); + $html .= html_entity_decode(nl2br($this->getDbField('text'))); $html .= '
'; $html .= '
'; return $html; } -} \ No newline at end of file +}