(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-05-27 14:04:39 +02:00 committed by GitSync
parent 85617be871
commit c762623d3b
2 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -180,8 +180,9 @@ 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 # from the beginning of my inline command blocks // NOTE custom stuff to strip # from the beginning of my inline command blocks
text = text.replace(/^[\$\s\#]*/gm, ''); return text.replace(/^[\$\s\#]{1,3}/gm, '');
return text.replace(/^\$\s\#\s/gm, ''); // original code
//return text.replace(/^\$\s/gm, '');
} }
}); });