From efdf60263d29b4114fedbd7bd8abf5d0a23003cd Mon Sep 17 00:00:00 2001 From: Saku Laesvuori Date: Fri, 16 Jan 2026 19:53:46 +0200 Subject: [PATCH] Fix spacing after tags without a value --- hledger-web/templates/journal.hamlet | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hledger-web/templates/journal.hamlet b/hledger-web/templates/journal.hamlet index d5bbcfe23..cf5114b1b 100644 --- a/hledger-web/templates/journal.hamlet +++ b/hledger-web/templates/journal.hamlet @@ -38,8 +38,9 @@ $if elem AddPermission perms
  • #{tagName} -
    - #{tagValue} + $if not $ T.null $ T.strip tagValue +
    + #{tagValue}
      $forall Posting { paccount = acc, pamount = amt, ptags = tags } <- tpostings torig @@ -57,8 +58,9 @@ $if elem AddPermission perms
    • #{tagName} -
      - #{tagValue} + $if not $ T.null $ T.strip tagValue +
      + #{tagValue} $if elem AddPermission perms ^{addModal AddR j today}