From a6a1b2c28e404168017a36c1371f0452d553ab99 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 10 Oct 2024 22:00:27 -1000 Subject: [PATCH] dev:bal: multiperiod balance now has two hledger.css links, fix --- hledger/Hledger/Cli/Commands/Balance.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hledger/Hledger/Cli/Commands/Balance.hs b/hledger/Hledger/Cli/Commands/Balance.hs index 83a917d95..6f8a9125a 100644 --- a/hledger/Hledger/Cli/Commands/Balance.hs +++ b/hledger/Hledger/Cli/Commands/Balance.hs @@ -823,10 +823,8 @@ multiBalanceReportAsSpreadsheetParts ishtml opts@ReportOpts{..} (PeriodicReport -- | Render a multi-column balance report as HTML. multiBalanceReportAsHtml :: ReportOpts -> MultiBalanceReport -> Html () multiBalanceReportAsHtml ropts mbr = - do - link_ [rel_ "stylesheet", href_ "hledger.css"] - printHtml . map (map (fmap L.toHtml)) $ - snd $ multiBalanceReportAsSpreadsheet ropts mbr + printHtml . map (map (fmap L.toHtml)) $ + snd $ multiBalanceReportAsSpreadsheet ropts mbr -- | Render the HTML table rows for a MultiBalanceReport. -- Returns the heading row, 0 or more body rows, and the totals row if enabled.