We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc31dac commit 78d07afCopy full SHA for 78d07af
lib/markdown.js
@@ -164,6 +164,7 @@ function count_lines( str ) {
164
Markdown.prototype.split_blocks = function splitBlocks( input, startLine ) {
165
input = input.replace(/(\r\n|\n|\r)/g, "\n");
166
// [\s\S] matches _anything_ (newline or space)
167
+ // [^] is equivalent but doesn't work in IEs.
168
var re = /([\s\S]+?)($|\n#|\n(?:\s*\n|$)+)/g,
169
blocks = [],
170
m;
0 commit comments