Append CONTEXT to the failure data, if non-nil."
(let ((text-file (file-name-concat (ert-resource-directory) (concat name ".txt")))
(html-file (file-name-concat (ert-resource-directory) (concat name ".html")))
- (description (if context (format "%s (%s)" name context) name)))
+ (description (if context (format "%s (%s)" name context) name))
+ (coding-system-for-read 'utf-8))
(with-temp-buffer
(insert-file-contents html-file)
(let ((dom (libxml-parse-html-region (point-min) (point-max)))
(shr-width 80)
(shr-use-fonts nil)
(shr-image-animate nil)
- (inhibit-message t)
(dom (libxml-parse-html-region (point-min) (point-max))))
;; Render the document.
(erase-buffer)