Skip to content

[ranges] Indented \end{codeblock} causes trailing empty line #3568

Closed
@Eelis

Description

@Eelis

Notice the trailing empty line after the codeblock:
image
This is caused by the fact that the \end{codeblock} is indented:

draft/source/ranges.tex

Lines 485 to 487 in 8166369

\begin{codeblock}
template<class T> void rbegin(T&&) = delete;
\end{codeblock}

[ranges] is the only chapter that has indented \end{codeblock}s:

ranges.tex:354:  \end{codeblock}
ranges.tex:394:  \end{codeblock}
ranges.tex:401:  \end{codeblock}
ranges.tex:407:  \end{codeblock}
ranges.tex:487:  \end{codeblock}
ranges.tex:528:  \end{codeblock}
ranges.tex:535:  \end{codeblock}
ranges.tex:540:  \end{codeblock}
ranges.tex:632:    \end{codeblock}

It might be a good idea to include a rule about this in the specification guidelines wiki.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions