[BUG] Quotation mark in format string needs to be escaped
NobodyXu opened this issue · 0 comments
NobodyXu commented
Describe the bug
Since swaystatus
prints the result of format directly to buffer instead of first appending it to json, it is suspectible to unescaped quotation mark.
To Reproduce
Steps to reproduce the behavior:
- Change element
"format"
of arbitrary block to"\""
Expected behavior
swaystatus
should just output "
for that block.
Actual behavior
swaybar
failed to parse output of swaystatus
.