From f3b23582df125ed5fc1c01e478f9001694429de8 Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Thu, 24 Oct 2019 14:32:27 +0200 Subject: [PATCH] Enabled rendering of HTML files served over gemini. --- elpher.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elpher.el b/elpher.el index bd8cc42..ac45b99 100644 --- a/elpher.el +++ b/elpher.el @@ -927,6 +927,8 @@ The response is assumed to be in the variable `elpher-gemini-response'." (pcase mime-type ((or "text/gemini" "") (elpher-render-gemini-map body parameters)) + ("text/html" + (elpher-render-html body)) ((pred (string-prefix-p "text/")) (elpher-render-gemini-plain-text body parameters)) ((pred (string-prefix-p "image/")) -- 2.20.1