mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
f86dff60e6
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
7 lines
132 B
C++
7 lines
132 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace waybar::util {
|
|
std::string sanitize_string(std::string str);
|
|
} // namespace waybar::util
|