mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Fix titles containing & and other HTML entities
This commit is contained in:
parent
01c682c41e
commit
6a2d214b55
@ -306,7 +306,7 @@ std::string Task::state_string(bool shortened) const
|
|||||||
|
|
||||||
void Task::handle_title(const char *title)
|
void Task::handle_title(const char *title)
|
||||||
{
|
{
|
||||||
title_ = title;
|
title_ = Glib::Markup::escape_text(title);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Task::handle_app_id(const char *app_id)
|
void Task::handle_app_id(const char *app_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user