Fixing some bugs
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
key={option.key}
|
||||
class:should={showResult && question.correct.indexOf(option.key) >= 0}
|
||||
>
|
||||
<label class="input-checkbox" for={option.key}>{option.value}
|
||||
<label class="input-checkbox" for={option.key}>{@html option.value.replace(/\n/g, "<br>")}
|
||||
<input
|
||||
type="checkbox"
|
||||
id={option.key}
|
||||
|
@ -19,7 +19,7 @@
|
||||
key={option.key}
|
||||
class:should={showResult && option.key === question.correct }
|
||||
>
|
||||
<label class="input-checkbox" for={option.key}>{option.value}
|
||||
<label class="input-checkbox" for={option.key}>{@html option.value.replace(/\n/g, "<br>")}
|
||||
<input
|
||||
type="radio"
|
||||
id={option.key}
|
||||
|
Reference in New Issue
Block a user