diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp new file mode 100644 index 0000000..9a0d0a0 Binary files /dev/null and b/themes/learn2/js/.learn.js.swp differ diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index 73bd860..1654c68 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -179,7 +179,8 @@ jQuery(document).ready(function() { var text, clip = new Clipboard('.copy-to-clipboard', { text: function(trigger) { text = $(trigger).prev('code').text(); - return text.replace(/^\$\s/gm, ''); + //return text.replace(/^\$\s/gm, ''); + return text.replace(/^\$\s\#\s/gm, ''); } });