mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 03:01: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
|
@ -22,7 +22,7 @@ enum DynamicStringSegment {
|
|||
///
|
||||
/// ```rs
|
||||
/// dynamic_string(&text, move |string| {
|
||||
/// label.set_markup(&string);
|
||||
/// label.set_markup_escaped(&string);
|
||||
/// });
|
||||
/// ```
|
||||
pub fn dynamic_string<F>(input: &str, mut f: F)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue