]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
added new text event macros description
[wxWidgets.git] / src / html / htmlpars.cpp
index 64054fc2d2f246bdf211e123bd3d607688c28cc0..57a7406d032463b5e827531475c00ff58fc023db 100644 (file)
@@ -271,8 +271,9 @@ void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
              pieces[m_CurTextPiece].m_pos < m_CurTag->GetBeginPos()))
         {
             // Add text:
-            AddText(m_Source.Mid(pieces[m_CurTextPiece].m_pos,
-                                 pieces[m_CurTextPiece].m_lng));
+            AddText(GetEntitiesParser()->Parse(
+                       m_Source.Mid(pieces[m_CurTextPiece].m_pos,
+                                    pieces[m_CurTextPiece].m_lng)));
             begin_pos = pieces[m_CurTextPiece].m_pos +
                         pieces[m_CurTextPiece].m_lng;
             m_CurTextPiece++;