Skip to content

Conversation

@acmepjz
Copy link

@acmepjz acmepjz commented Jun 8, 2025

Currently the XHTML render of the following markdown

- [ ] Is this valid XHTML?
- [x] Is this valid XHTML?

is

<ul>
<li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled>Is this valid XHTML?</li>
<li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled checked>Is this valid XHTML?</li>
</ul>

which is not a valid XHTML. This PR adds check code to it which makes them valid XHTML.

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

Successfully merging this pull request may close these issues.

1 participant