diff --git a/faq.admin.inc b/faq.admin.inc index bf776b8011be4fa812374a5e11f8cd8f13d201c1..e5889c5ad064c74077d70e5dec783ad054814119 100644 --- a/faq.admin.inc +++ b/faq.admin.inc @@ -412,7 +412,7 @@ function faq_order_settings_form($form_state, $category = NULL) { while ($node = db_fetch_object($result)) { - $options[$node->nid] = $node->title; + $options[$node->nid] = check_plain($node->title); } $form['weight']['faq_category'] = array( diff --git a/faq.module b/faq.module index a56ebbb891bcdca518fe00b350107220670aea0b..6c21067cb0ad0f782e3cc633ce29b992d4fc3926 100644 --- a/faq.module +++ b/faq.module @@ -1152,6 +1152,7 @@ function faq_view_question(&$data, $node, $path = NULL, $anchor = NULL) { } if (variable_get('faq_display', 'questions_top') != 'hide_answer' && !empty($node->detailed_question) && variable_get('faq_question_length', 'short') == 'both') { + $node->detailed_question = check_markup($node->detailed_question, $node->format, FALSE); $question .= '