It would not add the tag when a comment already existed.
This affected hledger-print-location.hs and probably
the generated-transaction: tag in periodic transactions.
A reusable library containing hledger’s core functionality. This is
used by most hledger* packages so that they support the same common file
formats, command line options, reports etc.