Skip to content

Commit 579a0ec

Browse files
committed
Close tag
1 parent 2f7d35d commit 579a0ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/marked.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ Renderer.prototype.code = function(code, lang, escaped, attr) {
855855
Renderer.prototype.quiz = function(quizTokens) {
856856
var body = "<section class='quiz'>" +" <h1>" + quizTokens.text + "</h1>";
857857

858-
body += "<form>";
858+
body += "<form id='quiz-group-" + quizTokens.id + "'>";
859859
for (var i = 0; i < quizTokens.items.length; i++) {
860860
var e = quizTokens.items[i];
861861
if(e.type === "text") {
@@ -865,7 +865,7 @@ Renderer.prototype.quiz = function(quizTokens) {
865865
}
866866
}
867867

868-
body + "</form>";
868+
body += "</form>";
869869

870870
body += "</section>";
871871

0 commit comments

Comments
 (0)