From: Amin Bandali Date: Thu, 2 Apr 2020 22:42:41 +0000 (-0400) Subject: Tweak htmlfontify's generated output X-Git-Tag: emacs-27.0.91~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44ac9e48bbdb9e8546a7cb330ae8875cf093b505;p=emacs.git Tweak htmlfontify's generated output * lisp/htmlfontify.el (hfy-default-header): declare the character encoding for the generated HTML file. This helps browsers display UTF-8 characters like the copyright symbol correctly. (hfy-sprintf-stylesheet): apply the default style to all of the text consistently, so that unstyled bits (which are not wrapped in span tags and are directly part of the surrounding pre tag's "innerHTML") have a look consistent with the rest of the document. --- diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 152c70a64e2..c0012427ae1 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el @@ -628,6 +628,7 @@ STYLE is the inline CSS stylesheet (or tag referring to an external sheet)." \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\"> + %s %s