Permalink
Browse files

Fix code highlighting.

  • Loading branch information...
1 parent 9d7bfd1 commit fc01938b5df3ac62d8e513d15e94ae86d90a3973 @bootstraponline bootstraponline committed Apr 21, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/pagedown/Markdown.Converter.js
@@ -1165,11 +1165,13 @@ else
// Detect end of gollum code.
var strLength = str.length;
if (str.substring(strLength-3, strLength) === "```") {
- isExtended = false;
str = extendedString + str;
str = _DoCodeSpansGollum(str);
grafsOut.push(str);
+
+ isExtended = false;
extendedString = "";
+ continue;
}
extendedString += str + "\n\n";

0 comments on commit fc01938

Please sign in to comment.