Closed lethevinh closed 6 years ago
Which branch is that from. I have been working on a significant refactor in the main branch recently. It is not finished and I am aware of at least one fairly significant bug in it, but it is the general direction I am going in. The bug is that it does not handle selectables without spaces, i.e. it would render [cat]x[mat] incorrectly. I have been working on a fix for that but I will not have anything to show for at least a week or possibly more. When I do a new release I would like to give you credit for feedback, so send an email to marcusavgreen at gmail dot com if you would like me to include your details.
Let me know if you are awesome with regular expressions as you might be able to fix that bug I just mentioned :)
Closing this as lethevinh is awesome with regular expressions....
when displaying the question content , I found too much white space added before each word bolded or underlined.
https://github.com/marcusgreen/moodle-qtype_wordselect/blob/8f91e7acaafd8efc213fa2d351ece14ffaa011cb/question.php#L575