Loading src/html.cpp +12 −2 Original line number Diff line number Diff line Loading @@ -468,6 +468,7 @@ BUILDTREE_STARTLOOP: } }else if(_Data[ii]!=' '){ std::vector<char> buf; bool empty=true; while(ii<_Data.size()){ switch(_Data[ii]){ case HTMLTAG_OPEN: { Loading @@ -479,13 +480,22 @@ BUILDTREE_STARTLOOP: } goto BUILDTREE_STARTLOOP; }; case '\r': case '\r':{ ++ii; }break; case '\n':{ ++ii; }break; case ' ':{ if(!empty) buf.push_back(_Data[ii++]); else ++ii; }break; default:{ buf.push_back(_Data[ii++]); }; empty=false; }break; } } } Loading Loading
src/html.cpp +12 −2 Original line number Diff line number Diff line Loading @@ -468,6 +468,7 @@ BUILDTREE_STARTLOOP: } }else if(_Data[ii]!=' '){ std::vector<char> buf; bool empty=true; while(ii<_Data.size()){ switch(_Data[ii]){ case HTMLTAG_OPEN: { Loading @@ -479,13 +480,22 @@ BUILDTREE_STARTLOOP: } goto BUILDTREE_STARTLOOP; }; case '\r': case '\r':{ ++ii; }break; case '\n':{ ++ii; }break; case ' ':{ if(!empty) buf.push_back(_Data[ii++]); else ++ii; }break; default:{ buf.push_back(_Data[ii++]); }; empty=false; }break; } } } Loading