How to sanitize the contents coming from an input widget #1138
Unanswered
nathannino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'll be honest, I am not certain if this is more of a eww question or a bash question.
I wrote this as part of a widget (or rather as a way to test how the input widget worked before I added the actual functionality to it) :
Now, the variable name is very temporary, but if I were to write this into the input :
the label only shows this :
From my understanding, the
'
will remove any special meaning to every charater... except for the'
character, as it has to have a way to end that delimitation.But how do I escape the
'
if I can't modify the value that will replace{}
?Beta Was this translation helpful? Give feedback.
All reactions