Skip to content

Markdown and HTML tags including dollar signs #2853

@williamstein

Description

@williamstein

This gets mangled by the markdown processing:

<a href="http://abc" class="foo-$">test $</a>

The reason is because smc-util/mathjax-utils.js is NOT a full parser, but just some heuristics, and it gets this wrong. It replaces

<a href="http://abc" class="foo-$">test $</a>```
by 

<a href="http://abc" class="foo-@@0@@

then runs the normal markdown processor, then puts `$">test $` back.

Note that exactly this is ALSO broken in Jupyter Classic, which uses the same heuristics rather than a real parser.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions