Skip to content

Commit

Permalink
Update footnote regex pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Feb 21, 2014
1 parent 159b50e commit 18b4858
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 @@ -93,7 +93,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 18b4858

Please sign in to comment.