Skip to content

Commit 6d6b68a

Browse files
committed
Don't allow HTML render on Bugster on docs
1 parent cb96f57 commit 6d6b68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_bs5/assets/js/main-v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ function Bugster() {
393393

394394
if (question.value !== "") {
395395
bugsterChat.classList.remove('d-none');
396-
theQuestion = question.value;
396+
theQuestion = escapeHtml(question.value);
397397
question.value = "";
398398

399399
if (document.querySelector('.bugster-hero').checkVisibility() === false) {

0 commit comments

Comments
 (0)