Skip to content

Commit

Permalink
修正js的markdown语法解析
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Oct 12, 2014
1 parent f1726cf commit 09ba4cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/js/markdown-extra-extended.js
Original file line number Diff line number Diff line change
Expand Up @@ -2970,9 +2970,9 @@ MarkdownExtraExtended_Parser.prototype.doFencedCodeBlocks = function (text) {
'(?:\\n|\\x02)' +
// 1: Opening marker
'(' +
'~{3,}|`{3,}' + // Marker: three tilde or more.
'~{3,}|`{3,}' + // Marker: three tilde or more.
')' +
'[ ]?(\\w+)?(?:,[ ]?(\\d+))?[ ]* \\n' + // Whitespace and newline following marker.
'[ ]?(\\w+)?(?:,[ ]?(\\d+))?[ ]*\\n' + // Whitespace and newline following marker.
// 2: Content
'(' +
'(?:' +
Expand Down

0 comments on commit 09ba4cd

Please sign in to comment.