aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-24 01:07:10 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-24 01:07:10 -0200
commitd0a09664737d82985c0db040afeb89f69c5b61b3 (patch)
tree99b33981cd2272eb7897c8d546d2c3c9beb05d93 /sx-question-print.el
parenta7a83411ccf68114847112bf27dced3d833cd524 (diff)
sx-question-mode--reference-regexp no longer matches newlines
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 63bfaa4..963bfb4 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -323,7 +323,7 @@ where `value' is given `face' as its face.
(defconst sx-question-mode--reference-regexp
(rx line-start (0+ blank) "[%s]:" (0+ blank)
- (group-n 1 (1+ (not blank))))
+ (group-n 1 (1+ (not (any blank "\n\r")))))
"Regexp used to find the url of labeled links.
E.g.:
[1]: https://...")