This commit is contained in:
dockes 2009-08-13 06:27:50 +00:00
parent ae61b25fc4
commit a9eb8e42da

View File

@ -691,6 +691,8 @@ class LoadThread : public QThread {
// a mysterious error. Happens when the file name matches a
// a search term of course.
*statusp = 0;
// If we prefer html and it is available, replace the
// text/plain document text
if (prefs.previewHtml && !interner.get_html().empty()) {
out->text = interner.get_html();
out->mimetype = "text/html";