Skip to content

Commit

Permalink
Update footnote regex pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture authored and Jack12816 committed Jul 13, 2014
1 parent d72390c commit a219e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ block.tables = {
* Footnotes Block Grammar
*/
block.footnotes = {
footnote: /^\[(\^[^\]]+)\]: *([^\n]*(?:\n [^\n]*)*)/,
footnote: /^\[\^([^\]]+)\]: *([^\n]*(?:\n+|$)(?: {1,}[^\n]*(?:\n+|$))*)/
};
block.footnotes.normal = {
footnote: block.footnotes.footnote
Expand Down

0 comments on commit a219e78

Please sign in to comment.