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.

CommentFileSizeAuthor
#2 cloze_wysiwyg_br_2819873_1_D7.patch972 bytesalx_benjamin

Comments

alx_benjamin created an issue. See original summary.

alx_benjamin’s picture

StatusFileSize
new972 bytes
alx_benjamin’s picture

Issue summary: View changes