Skip to content

Commit

Permalink
essay question count special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
fhelfer authored and kergomard committed Sep 28, 2023
1 parent aafcfa8 commit 2496364
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
var content = $('#assTextQuestionContent_'+qId).val();
content = stripAndDecode(content);
// Mantis 27213/27234 & Test T40694
charCounter.val( maxL - content.replace(/[.,:;!?\-_#'"+*\\/=()&%$§]/g, '').length );
charCounter.val( maxL - content.length );
}

return true;
Expand Down

0 comments on commit 2496364

Please sign in to comment.