branch: elpa/textile-mode
commit 39be4160bf255325b0b14c2526a828695aecc89c
Author: Matus Goljer <dota.k...@gmail.com>
Commit: Matus Goljer <dota.k...@gmail.com>

    Fix footnote regexp
---
 textile-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textile-mode.el b/textile-mode.el
index 755f772dec..124322db4a 100644
--- a/textile-mode.el
+++ b/textile-mode.el
@@ -171,7 +171,7 @@ non-matching parentheses"
        ;; footnotes
        `(,(textile-block-matcher "fn[0-9]+") 1 'textile-footnote-face t t)
        ;; footnote marks
-       '("\\w\\([[0-9]+]\\)" 1 'textile-footnotemark-face prepend t)
+       '("\\(?:\\w\\|\\s.\\)\\(\\[[0-9]+\\]\\)" 1 'textile-footnotemark-face 
prepend t)
        ;; acronyms
        `(,(textile-acronym-matcher) 0 'textile-acronym-face t t)
 

Reply via email to