Repository navigation
Conversation
`\|` is a double vertical bar, as `\Vert` is. The large (stacked) delimiter already drew it so, but the small delimiter table mapped `\|` to U+2223 (DIVIDES), a single bar, so `\left\| x \right\|` drew single bars around anything short enough to use a small delimiter. It now maps to U+2225, as `\Vert` does. The LEFT/RIGHT snapshot that recorded the single bar is updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
\left\| x \right\|is drawn with single bars, though\|is a double vertical bar, as\Vertis.Cause. The small-delimiter table in
src/core/delimiters.tsmaps\|to U+2223 (DIVIDES), a single bar. The stacked (large) delimiter path already maps it to U+2225, so only short contents, which use a small delimiter, were wrong.Fix. Map
\|to U+2225, as\Vert,\lVert,\rVertand\mVertalready are.Tests. A new
DOUBLE BAR DELIMITERblock intest/markup.test.tschecks that\left\| … \right\|draws exactly what\left\Vert … \right\Vertdraws, small and large. TheLEFT/RIGHT › Delimiters \| |snapshot recorded the single bar and is updated: its only change is ∣ → ∥ on the opening delimiter.Suggested changelog line:
\left\|and\right\|are drawn as double bars, as\left\Vertis.🤖 Generated with Claude Code