Skip to content

emoji in comment should not be processed #742

Closed
@upupming

Description

@upupming

The following md:

So this: <!-- begin-inline-katex
\def\arraystretch{1.5}
   \begin{array}{c:c:c}
   a & b & c \\ \hline
   d & e & f \\
   \hdashline
   g & h & i
\end{array}
end-inline-katex-->

will be rendered as:

<p>So this: <!-- begin-inline-katex
\def\arraystretch{1.5}
   \begin{array}{c<img class="emoji" src="https://assets-cdn.github.com/images/icons/emoji/c.png" alt="c" />c}
   a & b & c \\ \hline
   d & e & f \\
   \hdashline
   g & h & i
\end{array}
end-inline-katex--></p>

It is expected to leave the content in comments unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions