Fixing some bugs

This commit is contained in:
Fabian Stamm 2019-09-11 17:09:46 +02:00
parent b130482e21
commit 2d918eff7e
3 changed files with 6 additions and 6 deletions

View File

@ -1344,10 +1344,10 @@
"images": [], "images": [],
"type": 0, "type": 0,
"options": { "options": {
"q96-0": "Switch(config)# interface gigabitethernet 1/1 Switch(config-if)# spanning-tree vlan 1", "q96-0": "Switch(config)# interface gigabitethernet 1/1 <br> Switch(config-if)# spanning-tree vlan 1",
"q96-1": "Switch(config)# interface gigabitethernet 1/1 Switch(config-if)# spanning-tree portfast", "q96-1": "Switch(config)# interface gigabitethernet 1/1 <br> Switch(config-if)# spanning-tree portfast",
"q96-2": "Switch(config)# interface gigabitethernet 1/1 ", "q96-2": "Switch(config)# interface gigabitethernet 1/1 <br> Switch(config-if)# switchport mode trunk",
"q96-3": "Switch(config)# interface gigabitethernet 1/1 Switch(config-if)# switchport access vlan 1" "q96-3": "Switch(config)# interface gigabitethernet 1/1 <br> Switch(config-if)# switchport access vlan 1"
}, },
"correct": "q96-2" "correct": "q96-2"
}, },

View File

@ -27,7 +27,7 @@
key={option.key} key={option.key}
class:should={showResult && question.correct.indexOf(option.key) >= 0} 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 <input
type="checkbox" type="checkbox"
id={option.key} id={option.key}

View File

@ -19,7 +19,7 @@
key={option.key} key={option.key}
class:should={showResult && option.key === question.correct } 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 <input
type="radio" type="radio"
id={option.key} id={option.key}