From: Paul Hänsch Date: Wed, 22 Jan 2020 12:57:50 +0000 (+0100) Subject: avoid unnecessary white space, so that placeholder is displayed X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=1463683bc0e298f63dace570d2d46bc121404a0a;p=lobster avoid unnecessary white space, so that placeholder is displayed --- diff --git a/cards/widgets.sh b/cards/widgets.sh index c0ecfb0..63c450b 100755 --- a/cards/widgets.sh +++ b/cards/widgets.sh @@ -188,7 +188,7 @@ edit_item(){ [input .item .N name="5N" placeholder="%s" value="%s"] ' "$(l10n "$item")" \ "$(l10n n_pre)" "$(HTML "$n4")" \ - "$(l10n n_first)" "$(HTML "$n2" "$n3")" \ + "$(l10n n_first)" "$(HTML "${n2}${n3:+ }${n3}")" \ "$(l10n n_last)" "$(HTML "$n1")" \ "$(l10n n_post)" "$(HTML "$n5")" ;;