fix(latex): keep letter-delimited verb and url spans whole - #515
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A letter delimiter after
\verb,\verb*,\Verb, or\spverbwas not the delimiter.A character delimiter on
\url,\path, and\nolinkurlwas not the delimiter either.The span now runs to that delimiter. A braced argument is unchanged. A sentence after the command still splits.