diff options
| author | tv <tv@krebsco.de> | 2026-03-31 12:22:12 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-03-31 12:29:01 +0200 |
| commit | 36184551980eb59b67189c2a782c7f4461285d23 (patch) | |
| tree | a80183417417e7f4c97301b0770a679d456af4e8 | |
| parent | 8ba70458b8f5949db00c5840c76027c317bf6bc4 (diff) | |
| -rw-r--r-- | src/Much/TreeView.hs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Much/TreeView.hs b/src/Much/TreeView.hs index 3e94c8a..eb2263c 100644 --- a/src/Much/TreeView.hs +++ b/src/Much/TreeView.hs @@ -16,6 +16,7 @@ module Much.TreeView ) where import Data.ByteString.Lazy.Char8 qualified as LBS8 +import Data.CaseInsensitive qualified as CI import Data.Text qualified as T import Data.Tree import Much.TreeView.Types as Export @@ -148,10 +149,8 @@ loadSubForest = \case Left e -> return $ Left $ show e Right html -> readProcessWithExitCode - "lynx" - [ "-dump" - , "-nomargins" - , "-stdin" + "show" + [ T.unpack (CI.foldedCase (partContentType mp)) ] html >>= \case |
