Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
armandofox opened this issue Nov 22, 2017 · 0 comments

Comments

@armandofox
Copy link
Contributor

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant