Don't html_escape output, this was fixed in waybar
This commit is contained in:
parent
5bdc133871
commit
10efd967e5
1 changed files with 2 additions and 2 deletions
|
@ -415,13 +415,13 @@ impl HomeAssistant {
|
|||
String::new()
|
||||
};
|
||||
|
||||
let now_playing = if let Some(channel) = maybe_channel {
|
||||
let text = if let Some(channel) = maybe_channel {
|
||||
format!("{volume}[{channel}] {artist} - {title}")
|
||||
} else {
|
||||
format!("{volume}{artist} - {title}")
|
||||
};
|
||||
|
||||
let text = html_escape::encode_text(&now_playing).to_string();
|
||||
// let text = html_escape::encode_text(&now_playing).to_string();
|
||||
|
||||
match self.format {
|
||||
OutputFormat::Waybar => Waybar::builder()
|
||||
|
|
Loading…
Reference in a new issue