Parse header IDs with colons #72
Comments
You cannot use a Span IAL with a Block-Level Element AKA
Proper syntax
|
This is not an IAL, this is a Header ID. Notice there is no colon between the opening curly bracket and the hash :) Le 9 août 2013 à 01:00, Steven Penny notifications@github.com a écrit :
|
Thanks for finding this bug! Using a header ID and an IAL should definitely work the same, so I will add support for the colon to the header ID. |
Implemented. |
Cool, thanks! Any ETA on this being available on RubyGems? :) |
I would like to incorporate one more patch and then release a new version, so probably this week. |
Great, thanks Thomas! :) Le 27 août 2013 à 07:44, Thomas Leitner notifications@github.com a écrit :
|
Kramdown does not parse valid HTML IDs for the
{#}
anchor syntax, and differs from PHP Markdown Extra behavior on header IDs:Parsed by Kramdown as:
Expected (and properly parsed by PHP Markdown Extras):
Also, the HTML spec explicitly states:
Source
The text was updated successfully, but these errors were encountered: