Flexible cloze 2 [Support thread]

Hi,

First of all, thank you @TRIAEIOU for your continued work on this add on. I remember you were very helpful when I was attempting to integrate it into my deck last year. I am reattempting now and have encountered another issue.

What is the best way to generate clozes spanning multiple lines within a list? I am having trouble making these clozes such that they appear as intended in the review window. See below:

The following note:


associated HTML:

<ul><li>cloze list 1:</li><ul><li>{{c1::test</li><li>test</li><li>test</li><li>test}}</li></ul><li>cloze list 2:</li><ul>{{c2::<li>test</li><li>test</li><li>test</li><li>test</li>}}</ul><li>{{c3::cloze 3}}</li></ul>

generates 3 cards. The third card appears like this:


with all clozes revealed:

In this image, the active cloze is cloze 3. Both cloze 1 and cloze 2 are inactive and should be entirely hidden. However, only the first line of cloze 1 is hidden while lines 2-4 remain visible. Cloze 1 is generated by typing “{{c1::” and “}}” manually into the editor. I have tried various methods of highliting/typing to generate the cloze and none have worked as intended.

I was able to make it work as intended in cloze 2 by manually editing the HTML and moving the position of “{{c2::” and “}}” relative to < li > and < /li > as per this post from the prior support thread: (Flexible Cloze [Support thread] - #85 by TRIAEIOU). However, this is impractical, particularly for long cards and a large collection.

Is anyone else encountering this problem? What is the most efficient way of generating clozes containing nonordered lists in a time-efficient manner? For those like me with a large collection of cards containing clozes spanning a multiline list, what is the best method of converting those cards to Flexible cloze?

Thank you.