fixed TABs positioning inside <pre> so that tags don't throw it apart

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-03-21 21:19:09 +00:00
parent 37ed592f71
commit b23bb1f962

View File

@@ -41,10 +41,8 @@ static wxString LINKAGEMODE HtmlizeWhitespaces(const wxString& str)
while (i < len && str[i] != wxT('>'))
{
out << str[i++];
linepos++;
}
out << wxT('>');
linepos++;
break;
case wxT(' '):
out << wxT("&nbsp;");