Skip to content

Commit

Permalink
Merge pull request hoedown#150 from blaenk/footnote-fix
Browse files Browse the repository at this point in the history
set active_char for footnotes
  • Loading branch information
mildsunrise committed Jan 31, 2015
2 parents fd09d02 + 5cf1ed3 commit ef84eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document.c
Original file line number Diff line number Diff line change
Expand Up @@ -2766,7 +2766,7 @@ hoedown_document_new(
if (doc->md.linebreak)
doc->active_char['\n'] = MD_CHAR_LINEBREAK;

if (doc->md.image || doc->md.link)
if (doc->md.image || doc->md.link || doc->md.footnotes || doc->md.footnote_ref)
doc->active_char['['] = MD_CHAR_LINK;

doc->active_char['<'] = MD_CHAR_LANGLE;
Expand Down

0 comments on commit ef84eab

Please sign in to comment.