From de24998308f816775ba2dcce9a8b84c5bc33f23d Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 20 May 2013 16:20:34 -0700 Subject: [PATCH] Bootstrap styling of FAQ tags. --- e107_plugins/faqs/faqs_shortcodes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_plugins/faqs/faqs_shortcodes.php b/e107_plugins/faqs/faqs_shortcodes.php index b88749af6..875437ba3 100644 --- a/e107_plugins/faqs/faqs_shortcodes.php +++ b/e107_plugins/faqs/faqs_shortcodes.php @@ -67,7 +67,7 @@ class faqs_shortcodes extends e_shortcode function sc_faq_answer() { - return e107::getParser()->toHTML($this->var['faq_answer'],true); + return e107::getParser()->toHTML($this->var['faq_answer'],true,'BODY'); } @@ -76,7 +76,7 @@ class faqs_shortcodes extends e_shortcode $tags = $this->var['faq_tags']; if(!$tags) return ''; - if(!$parm) $parm = ' | '; + if(!$parm) $parm = ' '; $ret = $urlparms = array(); if($this->category) $urlparms['category'] = $this->category; @@ -86,7 +86,7 @@ class faqs_shortcodes extends e_shortcode $urlparms['tag'] = $tag; $url = e107::getUrl()->create('faqs/list/all', $urlparms); $tag = htmlspecialchars($tag, ENT_QUOTES, 'utf-8'); - $ret[] = ''.$tag.''; + $ret[] = ''.$tag.''; } return implode($parm, $ret);