Skip to content

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

Open

Description

@cspiel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions