Skip to content

Why is my h1 id is -,Chinese? #1042

Closed

Description

markdown:

### 原理

html:

<h3 id="-">原理</h3>

why this id is -?

Activity

  1. joshbruce commented on Feb 2, 2018

    @joshbruce
    Member

    @rhatyang: Pretty sure it has to do with encoding of characters. Also thinking we will be deprecating this behavior in the future as it is not explicitly called out in a spec (could be wrong). Therefore, recommend making a second pass to generate the ids once the markup (HTML) has been generated.

  2. ghost closed this as completedon Feb 4, 2018
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