]> git.saurik.com Git - wxWidgets.git/commitdiff
added &copy; in <PRE> environment
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 28 Nov 1999 18:24:34 +0000 (18:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 28 Nov 1999 18:24:34 +0000 (18:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/m_pre.cpp

index 61cafb7b7b90062c2a9b5ad1ca16efdcf8fb7885..e073b69a351ccacba909187729c1c29a11e4bf2c 100644 (file)
@@ -70,6 +70,7 @@ wxHtmlPRECell::wxHtmlPRECell(const wxString& s, wxDC& dc) : wxHtmlCell()
     while (tokenizer.HasMoreTokens()) {
         if (i % 10 == 0) m_Text = (wxString**) realloc(m_Text, sizeof(wxString*) * (i + 10));
         tmp = tokenizer.NextToken();
+        tmp.Replace(wxT("&copy;"), wxT("(c)"), TRUE);
         tmp.Replace(wxT("&nbsp;"), wxT(" "), TRUE);
         tmp.Replace(wxT("&quot;"), wxT("\""), TRUE);
         tmp.Replace(wxT("&lt;"), wxT("<"), TRUE);