Skip to content

fix(math): use stretchable U+203E for both over and underbar accents (SD-2408)#2639

Merged
caio-pizzol merged 1 commit intomainfrom
caio/sd-2408-math-underbar-doesnt-stretch-on-compound-expressions
Mar 30, 2026
Merged

fix(math): use stretchable U+203E for both over and underbar accents (SD-2408)#2639
caio-pizzol merged 1 commit intomainfrom
caio/sd-2408-math-underbar-doesnt-stretch-on-compound-expressions

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

U+2015 (horizontal bar) from SD-2403 fixed invisible underbars but doesn't stretch in MathML β€” so compound expressions like a + b + c only showed the bar under a single letter.

Use U+203E (overline) for both over and under bars. It's stretchable in MathML and <munder>/<mover> controls the position, so the same character works for both.

  • Replace U+2015 with U+203E for underbar accent
  • Simplify: same character for both over and under
  • Update test expectations

SD-2408

…(SD-2408)

U+2015 (horizontal bar) doesn't stretch in MathML, so underbars on
compound expressions like x+y only appeared under a single letter.
Use U+203E (overline) for both β€” it's stretchable and munder/mover
controls the position.
@linear
Copy link
Copy Markdown

linear bot commented Mar 30, 2026

@caio-pizzol caio-pizzol merged commit 30f26ce into main Mar 30, 2026
50 checks passed
@caio-pizzol caio-pizzol deleted the caio/sd-2408-math-underbar-doesnt-stretch-on-compound-expressions branch March 30, 2026 16:28
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in vscode-ext v1.1.0-next.43

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in superdoc v1.24.0-next.42

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in superdoc-cli v0.5.0-next.42

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in superdoc-sdk v1.3.0-next.42

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in esign v2.2.0-next.3

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in template-builder v1.3.0-next.2

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Mar 30, 2026

πŸŽ‰ This PR is included in superdoc v1.24.0

The release is available on GitHub release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant