Skip to content

Commit

Permalink
fix(mode): escape text
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed May 20, 2019
1 parent 4accdd4 commit 12a251c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sway/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void Mode::onEvent(const struct Ipc::ipc_response& res) {
try {
auto payload = parser_.parse(res.payload);
if (payload["change"] != "default") {
mode_ = payload["change"].asString();
mode_ = Glib::Markup::escape_text(payload["change"].asString());
} else {
mode_.clear();
}
Expand Down

0 comments on commit 12a251c

Please sign in to comment.