Commit bd1f4137 authored by jan.koester's avatar jan.koester
Browse files

test

parent e4ff0aad
Loading
Loading
Loading
Loading
+3 −2
Changes for src/html.cpp: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -467,13 +467,14 @@ void libhtmlpp::HtmlString::_parseTree(){
                    _HTable[ip][1]=ii;
                break;
            case HTMLTAG_CLOSE:
                if (_Data.substr(ii - 2, 3) != "-->" && open) {
                    if(_Data.find("/script",_HTable[ip][0],ii-_HTable[ip][0])==std::string::npos){
                    if (_Data.substr(ii - 2, 3) != "-->" && !open) {
                        _HTable[ip][2] = ii;
                        ++ip;
                    }
                }
                    open = false;
                }
                break;
            case ' ':
                break;
            default: