Skip to content

underscores are interpreted incorrectly in GFM #544

Closed

Description

@santhosh-tekuri

on rendering:
$A_i, A_{i+1}$
it produces:
<p>$A<em>i, A</em>{i+1}$</p>
expected:
<p>$A_i, A_{i+1}$</p>

i tried the same in stackedit. it works as expected

Activity

  1. mkopala commented on Feb 7, 2015

    @mkopala

    This is the same as #343.

  2. Feder1co5oave commented on Jan 25, 2018

    @Feder1co5oave
    Contributor

    We don't support the $..$ syntax, so marked doesn't know anything about it, and interprets underscores as emphasis delimiters. In this particular case, the first _ should not open an emphasis, though.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions