Skip to content

Header processes differently on client and server #687

Closed

Description

@willrstern

using marked.min.js:

  • marked("- #1 fan") -> <ul>\n<li>#1 fan</li>\n</ul>\n

using marked via npm

  • marked("- #1 fan") -> <ul>\n<li><h1 id="1-fan">1 fan</h1>\n</li>\n</ul>\n

Activity

  1. changed the title [-]Header processes differently on marked.min.js[/-] [+]Header processes differently on client and server[/+] on Nov 18, 2015
  2. Feder1co5oave commented on Nov 19, 2015

    @Feder1co5oave
    Contributor

    Have you tried updating your npm package? According to https://www.npmjs.com/package/marked it is updated to the last version available here, which includes ledsun@1df5893 that introduced the different behaviour you're seeing.

  3. ankitduseja commented on Mar 15, 2016

    @ankitduseja

    +1 And the version I am using is 0.3.5 installed from npm. It is generating id's for h tags.

  4. joshbruce commented on Dec 25, 2017

    @joshbruce
    Member

    See #981

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