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

Fix LaTeX output of line-block #11530

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

AdrianVollmer
Copy link
Contributor

Subject: Fix LaTeX output of line-block

Feature or Bugfix

  • Bugfix

Purpose

  • Because the newlines are not commented out, this leaves an empty token at the beginning of the block. This empty token manifests as a spurious empty line in certain contexts, for example when using the line block inside a definition list.

Relates

Because the newlines are not commented out, this leaves an empty token
at the beginning of the block. This empty token manifests as a spurious
empty line in certain contexts, for example when using the line block
inside a definition list.

This closes sphinx-doc#11529.
@AA-Turner AA-Turner requested a review from jfbu July 28, 2023 21:07
@jfbu jfbu added this to the 7.2.0 milestone Jul 30, 2023
@jfbu jfbu merged commit 826b814 into sphinx-doc:master Jul 30, 2023
jfbu added a commit that referenced this pull request Jul 30, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Line Block in LaTeX builder outputs spurious empty token
3 participants