mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
Fix titles containing & and other HTML entities
This commit is contained in:
@@ -306,7 +306,7 @@ std::string Task::state_string(bool shortened) const
|
||||
|
||||
void Task::handle_title(const char *title)
|
||||
{
|
||||
title_ = title;
|
||||
title_ = Glib::Markup::escape_text(title);
|
||||
}
|
||||
|
||||
void Task::handle_app_id(const char *app_id)
|
||||
|
Reference in New Issue
Block a user