Skip to content

Commit

Permalink
Merge pull request #2780 from Automattic/fix/latex-html-escape
Browse files Browse the repository at this point in the history
Allow HTML in question titles
  • Loading branch information
jom committed Oct 15, 2019
2 parents 20f2d57 + c04273b commit 6c4f6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-sensei-question.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public static function get_the_question_title( $question_id ) {
$question_grade = Sensei()->question->get_question_grade( $question_id );

$title_html = '<span class="question question-title">';
$title_html .= esc_html( $title );
$title_html .= wp_kses_post( $title );
$title_html .= Sensei()->view_helper->format_question_points( $question_grade );
$title_html .= '</span>';

Expand Down

0 comments on commit 6c4f6c9

Please sign in to comment.