summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-11-06 18:37:15 +0530
committerGitHub2020-11-06 18:37:15 +0530
commitdc62c7ca750fd3a38b5efd706c5929c658d9f2b7 (patch)
tree533bc12646ac1a71c0d18798d430f1584cf93467
parent1ad9f3176c2df25df1f8fae601eef657e39f8b46 (diff)
parent4df2ffb5ade6ffec7b3bea4cd95bd72d7822d093 (diff)
downloadonline_test-dc62c7ca750fd3a38b5efd706c5929c658d9f2b7.tar.gz
online_test-dc62c7ca750fd3a38b5efd706c5929c658d9f2b7.tar.bz2
online_test-dc62c7ca750fd3a38b5efd706c5929c658d9f2b7.zip
Merge pull request #792 from adityacp/update_katex_delimiter
Change the delimiter for katex rendering
-rw-r--r--yaksh/static/yaksh/js/lesson.js4
-rw-r--r--yaksh/templates/base.html4
-rw-r--r--yaksh/templates/yaksh/show_lesson_quiz.html4
3 files changed, 6 insertions, 6 deletions
diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js
index 586ae18..64ac4da 100644
--- a/yaksh/static/yaksh/js/lesson.js
+++ b/yaksh/static/yaksh/js/lesson.js
@@ -10,8 +10,8 @@ $(document).ready(function() {
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index cba56cb..90a6299 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -63,8 +63,8 @@
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);
diff --git a/yaksh/templates/yaksh/show_lesson_quiz.html b/yaksh/templates/yaksh/show_lesson_quiz.html
index 82e01bc..39e590c 100644
--- a/yaksh/templates/yaksh/show_lesson_quiz.html
+++ b/yaksh/templates/yaksh/show_lesson_quiz.html
@@ -5,8 +5,8 @@
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);