saasbook/ruql

When --solutions is used, <li> elements for answers incorrectly have nested <p>

armandofox opened this issue · 0 comments

When questions are generated without solutions, the answer choices look like this (correct):

<ol class="answers">
  <li>choice 1</li>
  <li>choice 2</li>
</ol>

But when --solutions is used, they incorrectly look like this (note the embedded <p>...</p>), resulting in extra vertical whitespace:

<ol class="answers">
  <li class="incorrect"><p>choice 1</p></li>
  <li class="correct"><p>choice 2</p></li>
</ol>