]> git.eshelyaron.com Git - emacs.git/commit
Tweak htmlfontify's generated output
authorAmin Bandali <bandali@gnu.org>
Thu, 2 Apr 2020 22:42:41 +0000 (18:42 -0400)
committerAmin Bandali <bandali@gnu.org>
Thu, 2 Apr 2020 22:56:51 +0000 (18:56 -0400)
commit44ac9e48bbdb9e8546a7cb330ae8875cf093b505
tree7569a234d9ce50cb369db8aa114abf8d56b0a448
parentb2f2d0d2c435e37a2823caef2090335bb7d27d5a
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.
lisp/htmlfontify.el