View Single Post
Old 01-29-2022, 04:19 AM   #315
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Is the second equal sign turning yellow here a glitch?

Attachment 191936
Quote:
Originally Posted by chaley View Post
Yes, caused by the requirement to highlight TPM syntax. Put a space before the quote to get rid of it.
I submitted a fix that deals with this by moving the problem to somewhere that 'won't happen'. The issue is that :' indicates the start of a TPM template so the single quote isn't the beginning of a string. My fix looks for that situation. Unfortunately there is one other place where :' can happen where the quote is the beginning of a string.
Code:
for x in $tags:'aa' rof
This statement is near meaningless so the situation probably won't arise. And if it does all that goes wrong is the highlighting.
chaley is offline   Reply With Quote