Skip to content

Commit ae01529

Browse files
committedJul 27, 2010
Find multiple footnotes per line
1 parent 4f368f3 commit ae01529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎public/js/showdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ var _DoAnchors = function(text) {
469469
// Turn Markdown link shortcuts into XHTML <a> tags.
470470
//
471471

472-
text = text.replace(/\[\^([A-Za-z0-9]+)\]/,
472+
text = text.replace(/\[\^([A-Za-z0-9]+)\]/gm,
473473

474474
function(wholeMatch, m1) {
475475
var id = _findFirst(g_footnotes, function(x){return x.id == m1;});

0 commit comments

Comments
 (0)
Please sign in to comment.