mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
Revert "Fix Pango markup not escaped"
This commit is contained in:
parent
0085e51ff6
commit
a9a32817e0
14 changed files with 23 additions and 40 deletions
|
@ -5,7 +5,6 @@ use serde::Deserialize;
|
|||
use crate::build;
|
||||
use crate::config::ModuleOrientation;
|
||||
use crate::dynamic_value::dynamic_string;
|
||||
use crate::gtk_helpers::IronbarLabelExt;
|
||||
|
||||
use super::{CustomWidget, CustomWidgetContext};
|
||||
|
||||
|
@ -51,7 +50,7 @@ impl CustomWidget for LabelWidget {
|
|||
{
|
||||
let label = label.clone();
|
||||
dynamic_string(&self.label, move |string| {
|
||||
label.set_markup_escaped(&string);
|
||||
label.set_markup(&string);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue