Loading src/html.cpp +7 −8 Original line number Diff line number Diff line Loading @@ -1293,14 +1293,6 @@ void libhtmlpp::print(Element* el, HtmlString &output,bool formated) { goto PRINTNEXTEL; } if(formated) output.append("\r\n"); if (el->_nextElement) { el=el->_nextElement; goto PRINTNEXTEL; } //Container must be always terminated fuck html5 if(strcmp(((HtmlElement*) el)->getTagname(),"div")==0){ output.append("</"); Loading @@ -1308,6 +1300,13 @@ void libhtmlpp::print(Element* el, HtmlString &output,bool formated) { output.append(">"); } if(formated) output.append("\r\n"); if (el->_nextElement) { el=el->_nextElement; goto PRINTNEXTEL; } }break; case TextEl :{ Loading Loading
src/html.cpp +7 −8 Original line number Diff line number Diff line Loading @@ -1293,14 +1293,6 @@ void libhtmlpp::print(Element* el, HtmlString &output,bool formated) { goto PRINTNEXTEL; } if(formated) output.append("\r\n"); if (el->_nextElement) { el=el->_nextElement; goto PRINTNEXTEL; } //Container must be always terminated fuck html5 if(strcmp(((HtmlElement*) el)->getTagname(),"div")==0){ output.append("</"); Loading @@ -1308,6 +1300,13 @@ void libhtmlpp::print(Element* el, HtmlString &output,bool formated) { output.append(">"); } if(formated) output.append("\r\n"); if (el->_nextElement) { el=el->_nextElement; goto PRINTNEXTEL; } }break; case TextEl :{ Loading