From 1463683bc0e298f63dace570d2d46bc121404a0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 22 Jan 2020 13:57:50 +0100 Subject: [PATCH] avoid unnecessary white space, so that placeholder is displayed --- cards/widgets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")" ;; -- 2.39.2