diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index 8731f36..4282eef 100644 Binary files a/themes/learn2/js/.learn.js.swp and b/themes/learn2/js/.learn.js.swp differ diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index 2027e8c..2be2f19 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -180,7 +180,7 @@ jQuery(document).ready(function() { text: function(trigger) { text = $(trigger).prev('code').text(); console.log(text); - text = text.replace(/\s\#\s/gm, ''); + text = text.replace(/^\s\#\s/gm, ''); console.log(text); //return text.replace(/^\$\s/gm, ''); return text.replace(/^\$\s\#\s/gm, '');