Skip to content

Spacing inside \href is wrong #1108

@ylemkimon

Description

@ylemkimon

\href should not affect spacing inside it.

However, href builds expression with isRealGroup = false, but it doesn't get flattened in its parent buildExpression and spacings inside \href are not added.

a \href{.}{+b}
js-spacing
(Black a and purple is KaTeX and black is LaTeX.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions