Sec issue #62869 - fix for XSS vulnerability
[project/faq.git] / faq.module
index a56ebbb..6c21067 100644 (file)
@@ -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 .= '<div class="faq-detailed-question">'. $node->detailed_question .'</div>';
   }
   $data['question'] = $question;