Revert "fix: Escape user controlled input"

This reverts commit 7247360e29.
This commit is contained in:
Alex
2019-02-28 19:30:27 +01:00
parent 470f539346
commit 0271e9bc1a
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ void waybar::modules::sway::Mode::worker()
auto res = ipc_.handleEvent();
auto parsed = parser_.parse(res.payload);
if (parsed["change"] != "default") {
mode_ = Glib::Markup::escape_text(parsed["change"].asString());
mode_ = parsed["change"].asString();
} else {
mode_.clear();
}