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

Invalid HTML generated: unexpected end tag 'span' #40

Open
cspiel opened this issue Aug 27, 2020 · 0 comments
Open

Invalid HTML generated: unexpected end tag 'span' #40

cspiel opened this issue Aug 27, 2020 · 0 comments

Comments

@cspiel
Copy link
Contributor

cspiel commented Aug 27, 2020

Here is a minimal example:

\documentclass{article}

\begin{document}\small
\begin{enumerate}
  \renewcommand{\labelenumi}{(\arabic{enumi})}

\item An item.
\end{enumerate}
\end{document}

TeX is very user-friendly in this case by dropping all white-space
after the opening of the enumerate environment and
skipping over non-text generation code up to the first \item.

Found by xmllint.

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