Function: eww-html-p

eww-html-p is a byte-compiled function defined in eww.el.gz.

Signature

(eww-html-p CONTENT-TYPE)

Documentation

Return non-nil if CONTENT-TYPE designates an HTML content type.

Currently this means either text/html or application/xhtml+xml.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww-html-p (content-type)
  "Return non-nil if CONTENT-TYPE designates an HTML content type.
Currently this means either text/html or application/xhtml+xml."
  (member content-type '("text/html"
			 "application/xhtml+xml")))