Skip to content

tex2jax, $ delimiters might ignore escaped \$ #1960

Closed
@pkra

Description

Via the AMS. With processEscapes:true, e.g., this

<p> \$1 -- \$2 -- \$3 -- $4 -- \$5 -- \$6</p>

is turned into

<p> $1 -- $2 -- $3 -- $4 -- \$5 -- \$6</p>

I'm guessing tex2jax starts lookin for another $ to match $4, reaches the end of the text node, realizes it can stop and never goes back to convert the escaped \$.

Would you consider this a bug?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions