Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
whysodrooled authored May 7, 2024
1 parent e74755f commit 98cf9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="stylesheet" href="main.css">
<script>
function generateResult() {
var result = "{\n\tquestion=\""+document.getElementById("quiz_content_ques").value+"\""
var result = "{\n\tquestion=\""+document.getElementById("quiz_content_ques").value.replace(/\"/g, "\\\"")+"\""
+ "\n\tdiff="+document.getElementById("quiz_content_diff").value
+ "\n\ttype="

Expand Down

0 comments on commit 98cf9d4

Please sign in to comment.