Subject: bug#7457: 23.2.90; htmlfontify doest not encode title string

From: Chong Yidong <[email-masked]>
Date: Sat, 04 Dec 2010 19:37:12 -0500

Hi Vivek, you you mind taking a look at this bug report and sending a
patch?  Thanks.

Kazuhiro Ito <[email-masked]> writes:

> When I start emacs (emacs-23 brunch) with -Q and evaluate below code,
> generated html contains title string as is.
>
> (let ((buffer (generate-new-buffer "<"))
>       (current (current-buffer))
>       html)
>   (switch-to-buffer buffer t)
>   (insert "test")
>   (setq html (htmlfontify-buffer))
>   (kill-buffer buffer)
>   (switch-to-buffer html)
>
>   (goto-char (point-min))
>   (search-forward "<title>"))