fighter-programmer commited on
Commit
f298a06
·
verified ·
1 Parent(s): 25fdf96

Update utils/quote-generate.js

Browse files
Files changed (1) hide show
  1. utils/quote-generate.js +1 -1
utils/quote-generate.js CHANGED
@@ -542,7 +542,7 @@ class QuoteGenerate {
542
  if (styledWord?.word?.toString()?.startsWith("~")) {
543
  styledWord.word = styledWord.word.slice(1)
544
  }
545
- if (endsWithChar) {
546
  styledWord.word = styledWord.word.slice(0, -1);
547
  styledWord.style.push(lastStyleName);
548
  }
 
542
  if (styledWord?.word?.toString()?.startsWith("~")) {
543
  styledWord.word = styledWord.word.slice(1)
544
  }
545
+ if (false) { // I Forgot what is this
546
  styledWord.word = styledWord.word.slice(0, -1);
547
  styledWord.style.push(lastStyleName);
548
  }