From 93e6e38c611d9f75856d340e2074c9696319f0ae Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 27 May 2022 16:14:30 +0200 Subject: [PATCH] Remove redundant \$ --- themes/learn2/js/learn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index 8c92fe0..b3d213a 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(); // NOTE custom stuff to strip # or $ from the beginning of my inline command blocks - return text.replace(/^[\$\s\#\$]{1,4}/gm, ''); + return text.replace(/^[\$\s\#]{1,4}/gm, ''); // original code //return text.replace(/^\$\s/gm, ''); }