This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ MultipleChoice.prototype.createMCForm = function () {
148148
149149MultipleChoice . prototype . renderMCContainer = function ( ) {
150150 this . containerDiv = document . createElement ( "div" ) ;
151- $ ( this . containerDiv ) . text ( this . question ) ;
151+ $ ( this . containerDiv ) . html ( this . question ) ;
152152 $ ( this . containerDiv ) . addClass ( "alert alert-warning" ) ;
153153 this . containerDiv . id = this . divid ;
154154} ;
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def run(self):
123123 ...
124124 """
125125 TEMPLATE_START = '''
126- <ul data-component="multiplechoice" data-multipleanswers="%(multipleAnswers)s" %(random)s id="%(divid)s">%(bodytext)s
126+ <ul data-component="multiplechoice" data-multipleanswers="%(multipleAnswers)s" %(random)s id="%(divid)s">
127127 '''
128128
129129 OPTION = '''
@@ -146,7 +146,7 @@ def run(self):
146146 mcNode .template_option = OPTION
147147 mcNode .template_end = TEMPLATE_END
148148
149- # self.state.nested_parse(self.content, self.content_offset, mcNode)
149+ self .state .nested_parse (self .content , self .content_offset , mcNode )
150150 return [mcNode ]
151151
152152#backwards compatibility
You can’t perform that action at this time.
0 commit comments