Commits

Brad Baker committed fa68476

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

Comments (0)

Files changed (1)

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;