Remove redundant \$

This commit is contained in:
RealStickman 2022-05-27 16:14:30 +02:00
parent 40f8732154
commit 93e6e38c61

View File

@ -180,7 +180,7 @@ jQuery(document).ready(function() {
text: function(trigger) { 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 // 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 // original code
//return text.replace(/^\$\s/gm, ''); //return text.replace(/^\$\s/gm, '');
} }