diff --git a/e107_plugins/faqs/faqs_shortcodes.php b/e107_plugins/faqs/faqs_shortcodes.php index 3f5e84655..50b86a0ed 100644 --- a/e107_plugins/faqs/faqs_shortcodes.php +++ b/e107_plugins/faqs/faqs_shortcodes.php @@ -47,14 +47,14 @@ class faqs_shortcodes extends e_shortcode $tags = "
".LAN_FAQS_TAGS.": ".$this->sc_faq_tags()."
"; } $id = "faq_".$this->var['faq_id']; - $text = "".$tp->toHTML($this->var['faq_question'],true)." -
".$tp->toHTML($this->var['faq_answer'],TRUE).$tags."
+ $text = "".$tp->toHTML($this->var['faq_question'],true,'TITLE')." +
".$tp->toHTML($this->var['faq_answer'],true,'BODY').$tags."
"; } else { - $text = $tp->toHTML($this->var['faq_question'],true); + $text = $tp->toHTML($this->var['faq_question'],true, 'TITLE'); } return $text; } @@ -62,7 +62,7 @@ class faqs_shortcodes extends e_shortcode function sc_faq_question_link($parm='') { $tp = e107::getParser(); - return " $this->var['faq_id']))."' >".$tp -> toHTML($this->var['faq_question']).""; + return " $this->var['faq_id']))."' >".$tp -> toHTML($this->var['faq_question'],true,'TITLE').""; } function sc_faq_answer()