(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-05-27 14:00:02 +02:00 committed by GitSync
parent 108eae38d5
commit 05422c9a7e
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -180,8 +180,10 @@ jQuery(document).ready(function() {
text: function(trigger) { text: function(trigger) {
text = $(trigger).prev('code').text(); text = $(trigger).prev('code').text();
console.log(text); console.log(text);
text = text.substr(1); text = text.replace(/^[\$\s\#]*/gm, '');
console.log(text); console.log(text);
//text = text.substr(1);
//console.log(text);
//return text.replace(/^\$\s/gm, ''); //return text.replace(/^\$\s/gm, '');
return text.replace(/^\$\s\#\s/gm, ''); return text.replace(/^\$\s\#\s/gm, '');
} }