From: Tim Vaughan Date: Thu, 24 Oct 2019 12:32:27 +0000 (+0200) Subject: Enabled rendering of HTML files served over gemini. X-Git-Tag: v2.4.0~4^2~6 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=f3b23582df125ed5fc1c01e478f9001694429de8;p=elpher.git Enabled rendering of HTML files served over gemini. --- 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/"))