Skip to content

fix(latex): keep letter-delimited verb and url spans whole - #515

Merged
HaoZeke merged 4 commits into
mainfrom
fix/latex-verb-delims
Sep 26, 2026
Merged

HaoZeke merged 4 commits into
mainfrom
fix/latex-verb-delims

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

A letter delimiter after \verb, \verb*, \Verb, or \spverb was not the delimiter.

A character delimiter on \url, \path, and \nolinkurl was not the delimiter either.

The span now runs to that delimiter. A braced argument is unchanged. A sentence after the command still splits.

A space after \verb, \verb*, \Verb, or \spverb is not the delimiter.
\url, \path, and \nolinkurl keep a non-brace delimiter as one span.
Braced arguments stay on the generic command path, and a following
sentence still splits.
The CI formatter reorders use groups. The local edition 2021
invocation did not.
@HaoZeke
HaoZeke merged commit 3002f4d into main Sep 26, 2026
24 checks passed
@HaoZeke
HaoZeke deleted the fix/latex-verb-delims branch September 26, 2026 11:30
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