If cloze question is created using wysiwyg when it is parsed in getAnsweringForm all occurances of '\n' are replaced with <br/>. Like this <br/> appears in wrong places in the final source code.
For example:
<ul>
<br/>
<li></li>
<br/>
</ul>
Suggested patch checks for text format and if it is wysiwyg then it skips the replacement code and renders html as it was written by wysiwyg.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cloze_wysiwyg_br_2819873_1_D7.patch | 972 bytes | alx_benjamin |
Comments
Comment #2
alx_benjamin commentedComment #3
alx_benjamin commented