summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Mendez <me@jmendeth.com>2015-01-31 09:34:44 +0100
committerXavier Mendez <me@jmendeth.com>2015-01-31 09:34:44 +0100
commitef84eab70270a32254f784c4bed7118981bdcaf0 (patch)
tree90e47ca08cdd14a013cebda338f83e6093558a93
parentfd09d02ca6e0ad6da3f24a832d2fe762268feafd (diff)
parent5cf1ed3fe2f85140bfe84c0f72c26281abf9dbc1 (diff)
downloadrust-hoedown-ef84eab70270a32254f784c4bed7118981bdcaf0.tar.gz
Merge pull request #150 from blaenk/footnote-fix
set active_char for footnotes
-rw-r--r--src/document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.c b/src/document.c
index 47f6cf2..ab825b8 100644
--- a/src/document.c
+++ b/src/document.c
@@ -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;