GitbookIO / kramed

A markdown (kramdown compatible) parser and compiler. Built for speed. (Fork of marked)
MIT License
223 stars 47 forks source link

Header ID's Parsing Behavior #4

Closed 13protons closed 9 years ago

13protons commented 9 years ago

Header ID parsing technically works, but there are missing details.

This input markdown:

#hi {#one}

Results in this markup:

<h1 id="hi-one-">hi {#one}</h1>

But I'd expect it to result in this:

<h1 id="one">hi</h1>

That is

AaronO commented 9 years ago

@alanguir Fixed with your PR :+1:

This has been shipped in the kramed@0.4.3 release.