diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 9b0dae9c..718475b0 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -50,7 +50,7 @@ text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' ); } else if( leadingWs > 1 ) { - text = text.replace( new RegExp('\\n? {' + leadingWs + '}','g'), '\n' ); + text = text.replace( new RegExp('\\n? {' + leadingWs + '}'), '\n' ); } return text;