mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-18 07:11:04 +02:00
fix: correctly escape pango markup
This commit is contained in:
parent
c28de8d902
commit
9d8a3eb370
10 changed files with 35 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
use crate::config::{CommonConfig, ModuleOrientation};
|
||||
use crate::gtk_helpers::IronbarGtkExt;
|
||||
use crate::gtk_helpers::{IronbarGtkExt, IronbarLabelExt};
|
||||
use crate::modules::{Module, ModuleInfo, ModuleParts, ModuleUpdateEvent, WidgetContext};
|
||||
use crate::{glib_recv, module_impl, send_async, spawn};
|
||||
use color_eyre::Result;
|
||||
|
@ -266,7 +266,7 @@ impl Module<gtk::Box> for SysInfoModule {
|
|||
.to_string()
|
||||
});
|
||||
|
||||
label.set_markup(format_compiled.as_ref());
|
||||
label.set_markup_escaped(format_compiled.as_ref());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue