]> git.plutz.net Git - lobster/commitdiff
avoid unnecessary white space, so that placeholder is displayed
authorPaul Hänsch <paul@plutz.net>
Wed, 22 Jan 2020 12:57:50 +0000 (13:57 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 22 Jan 2020 12:57:50 +0000 (13:57 +0100)
cards/widgets.sh

index c0ecfb09e5bf78019189325443c320382ab57bca..63c450b653e65f043155886c85b145d222ff0657 100755 (executable)
@@ -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")"
         ;;