]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed bug in wxHTML that certainly prevented it from working with most web servers
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 27 Dec 2001 23:16:37 +0000 (23:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 27 Dec 2001 23:16:37 +0000 (23:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlfilt.cpp

index b28da2736893aa9e2b2cadfcbdfc25dbff961e4b..9c412c1f7bacf6eff94905d6485ca44f7251136b 100644 (file)
@@ -158,7 +158,7 @@ wxString wxHtmlFilterHTML::ReadFile(const wxFSFile& file) const
     {
         wxString s(_T("<meta http-equiv=\"Content-Type\" content=\""));
         s << file.GetMimeType() <<  _T("\">");
-        return s;
+        return s+doc;
     }
 
     return doc;