diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-06 09:56:54 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-06 09:56:54 +0200 |
commit | 2901abccdedf3a1068975229f496c581e1234174 (patch) | |
tree | c1a82c4586aefb38c072467ee741d26b2dbe31db /plugin | |
parent | 1d13760f0ee2de7bd698585701f42054c1a46b86 (diff) | |
parent | 80aadaf74e901b184d86b536c0c01e0fe98623d0 (diff) | |
download | fosdem-2018-presentation-2901abccdedf3a1068975229f496c581e1234174.tar fosdem-2018-presentation-2901abccdedf3a1068975229f496c581e1234174.tar.gz |
Merge pull request #682 from tentacode/patch-1
Indentation issue when using code in a markdown slide
Diffstat (limited to 'plugin')
-rwxr-xr-x | plugin/markdown/markdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 9b0dae9..718475b 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; |