Commits

Brad Baker  committed fa68476

hash the fenced code block so indentation is taken out of play

  • Participants
  • Parent commits b23d3ac

Comments (0)

Files changed (1)

File atlassian-markdown-core/src/main/resources/pagedown/js/Markdown.Converter.js

                     var preCode = text.substring(0,startMatch.index);
                     var postCode = text.substring(md_regPHPFencedBlocks.lastIndex);
 
-                    text = preCode + codeBlock + postCode;
+                    text = preCode + hashBlock(codeBlock) + postCode;
 
                 } else {
                     break;