mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-30 15:32:43 +01:00 
			
		
		
		
	fix(mode): escape text
This commit is contained in:
		| @@ -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(); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex