diff --git a/templates/question-alert.html b/templates/question-alert.html
index 93b8003..3b23230 100644
--- a/templates/question-alert.html
+++ b/templates/question-alert.html
@@ -7,6 +7,6 @@
- {{ md(q['text'], q) }}
+ {{ md(q['text']) }}
diff --git a/templates/question-checkbox.html b/templates/question-checkbox.html
index d4a780a..88bd802 100644
--- a/templates/question-checkbox.html
+++ b/templates/question-checkbox.html
@@ -11,7 +11,7 @@
- {{ md(opt, q) }}
+ {{ md(opt) }}
diff --git a/templates/question-information.html b/templates/question-information.html
index 92b5378..7543bf6 100644
--- a/templates/question-information.html
+++ b/templates/question-information.html
@@ -7,6 +7,6 @@
- {{ md(q['text'], q) }}
+ {{ md(q['text']) }}
\ No newline at end of file
diff --git a/templates/question-radio.html b/templates/question-radio.html
index c8bc4bb..d41f636 100644
--- a/templates/question-radio.html
+++ b/templates/question-radio.html
@@ -11,7 +11,7 @@
- {{ md(opt, q) }}
+ {{ md(opt) }}
diff --git a/templates/question-success.html b/templates/question-success.html
index f4e897e..2842a74 100644
--- a/templates/question-success.html
+++ b/templates/question-success.html
@@ -7,6 +7,6 @@
- {{ md(q['text'], q) }}
+ {{ md(q['text']) }}
diff --git a/templates/question-warning.html b/templates/question-warning.html
index efeabb8..6f06f5e 100644
--- a/templates/question-warning.html
+++ b/templates/question-warning.html
@@ -7,6 +7,6 @@
- {{ md(q['text'], q) }}
+ {{ md(q['text']) }}
diff --git a/templates/question.html b/templates/question.html
index f202e3f..ba726ad 100644
--- a/templates/question.html
+++ b/templates/question.html
@@ -11,7 +11,7 @@
- {{ md(q['text'], q) }}
+ {{ md(q['text']) }}
{% block answer %}{% end %}
diff --git a/templates/review-question-checkbox.html b/templates/review-question-checkbox.html
index 86c57e4..a48d898 100644
--- a/templates/review-question-checkbox.html
+++ b/templates/review-question-checkbox.html
@@ -12,7 +12,7 @@
- {{ md(opt, q) }}
+ {{ md(opt) }}
{% if q['correct'][n] > 0 %}
@@ -28,10 +28,10 @@
{% else %}
-
+
- {{ md(opt, q) }}
+ {{ md(opt) }}
{% if q['correct'][n] > 0 %}
diff --git a/templates/review-question-radio.html b/templates/review-question-radio.html
index 1bad631..c75f0fa 100644
--- a/templates/review-question-radio.html
+++ b/templates/review-question-radio.html
@@ -12,13 +12,13 @@
- {{ md(opt, q) }}
+ {{ md(opt) }}
{% if q['correct'][n] > 0 %}
-
+
{% else %}
@@ -31,7 +31,7 @@
- {{ md(opt, q) }}
+ {{ md(opt) }}
{% if q['correct'][n] > 0 %}
diff --git a/tools.py b/tools.py
index e3f06db..7d63250 100644
--- a/tools.py
+++ b/tools.py
@@ -126,7 +126,7 @@ class HighlightRenderer(mistune.Renderer):
markdown = MarkdownWithMath(HighlightRenderer(escape=True)) # hard_wrap=True to insert on newline
-def md_to_html(text, q=None):
+def md_to_html(text):
return markdown(text)
# ---------------------------------------------------------------------------
--
libgit2 0.21.2