mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-13 22:42:33 +02:00
utils: add sanitize_str to encode '&' etc.
gtk requires some chars (<>&"') to be encoded for them to render properly. `sanitize_str` sanitizes raw strings that have such chars and returns a properly encoded string
This commit is contained in:
@@ -154,7 +154,8 @@ src_files = files(
|
||||
'src/client.cpp',
|
||||
'src/config.cpp',
|
||||
'src/group.cpp',
|
||||
'src/util/ustring_clen.cpp'
|
||||
'src/util/ustring_clen.cpp',
|
||||
'src/util/sanitize_str.cpp'
|
||||
)
|
||||
|
||||
if is_linux
|
||||
|
Reference in New Issue
Block a user