--- a/src/query/reslistpager.cpp
+++ b/src/query/reslistpager.cpp
@@ -38,8 +38,8 @@
#include "mimehandler.h"
// Default highlighter. No need for locking, this is query-only.
-static const string cstr_hlfontcolor("<font color=\"blue\">");
-static const string cstr_hlendfont("</font>");
+static const string cstr_hlfontcolor("<span style='color: blue;'>");
+static const string cstr_hlendfont("</span>");
class PlainToRichHtReslist : public PlainToRich {
public:
virtual string startMatch(unsigned int)
@@ -361,9 +361,9 @@
<< headerContent()
<< "</head><body>" << endl
<< pageTop()
- << "<p><font size=+1><b>"
+ << "<p><span style=\"font-size:110%;\"><b>"
<< m_docSource->title()
- << "</b></font> ";
+ << "</b></span> ";
if (pageEmpty()) {
chunk << trans("<p><b>No results found</b><br>");