diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index c4395d7..e711f6f 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 f00990c..ef0780a 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -178,9 +178,9 @@ jQuery(document).ready(function() { if (!clipInit) { var text, clip = new Clipboard('.copy-to-clipboard', { text: function(trigger) { - text = $(trigger).prev('code').text + text = $(trigger).prev('code').text; // NOTE custom stuff to strip # or $ from the beginning of my inline command blocks - return text.replace(/^[\$\s\#\$]{1,3}/gm, ''); + return text.replace(/^[\$\s\#\$]{1,4}/gm, ''); // original code //return text.replace(/^\$\s/gm, ''); }