i3mpd how handles ampersands
This commit is contained in:
parent
3b272bad96
commit
5760896e7d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [[ -n $BLOCK_INSTANCE ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
filter() {
|
filter() {
|
||||||
sed 2q | tac | sed -e "/volume:/d;s/\[paused\].*/<span color=\"gray\">/g;s/\[playing\].*/<span>/g" | tr -d '\n' | sed -e "s/$/<\/span>/g"
|
sed 2q | tac | sed -e "s/\&/&/g;/volume:/d;s/\[paused\].*/<span color=\"gray\" font_style=\"italic\">/g;s/\[playing\].*/<span>/g" | tr -d '\n' | sed -e "s/$/<\/span>/g"
|
||||||
}
|
}
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
|
|
Loading…
Reference in a new issue