diff --git a/php/question-types/qsm-question-title.php b/php/question-types/qsm-question-title.php index 81e449002..86376de55 100644 --- a/php/question-types/qsm-question-title.php +++ b/php/question-types/qsm-question-title.php @@ -48,6 +48,10 @@ function qsm_question_title_func( $question, $question_type = '', $new_question_ $allow_html['input']['class'] = 1; $allow_html['input']['id'] = 1; $allow_html['input']['maxlength'] = 1; + $allow_html['select']['name'] = 1; + $allow_html['select']['class'] = 1; + $allow_html['select']['id'] = 1; + $allow_html['option']['value'] = 1; ?>
diff --git a/php/question-types/qsm-question-type-fill-in-the-blanks.php b/php/question-types/qsm-question-type-fill-in-the-blanks.php index 0bb6b0dd8..b246a3e24 100644 --- a/php/question-types/qsm-question-type-fill-in-the-blanks.php +++ b/php/question-types/qsm-question-type-fill-in-the-blanks.php @@ -44,6 +44,7 @@ function qmn_fill_blank_display( $id, $question, $answers ) { $mlw_require_class = ''; } $input_text = '"; + $input_text = apply_filters( 'qsm_fill_in_blanks_input_after', $input_text, $id, $question, $answers, $mlw_require_class ); if ( strpos( $question, '%BLANK%' ) !== false ) { $question = str_replace( '%BLANK%', $input_text, do_shortcode( htmlspecialchars_decode( $question, ENT_QUOTES ) ) ); }