Commit 05f920dd authored by jan.koester's avatar jan.koester
Browse files

formating changes

parent 83141788
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -1173,15 +1173,17 @@ PRINTNEXTEL:
                    output.append("\"");
                }
            }
            if(((HtmlElement*) el)->_childElement || el->_nextElement ){

            output.append(">");
            }else{
                output.append(" />");
            }

            if (((HtmlElement*) el)->_childElement) {
                cpylist.push(el);
                el=((HtmlElement*) el)->_childElement;
                goto PRINTNEXTEL;
            }else{
                output.append("</");
                output.append(((HtmlElement*) el)->getTagname());
                output.append(">");
            }

            if (el->_nextElement) {
+5 −5
Original line number Diff line number Diff line
@@ -38,11 +38,11 @@ class HtmlCopy{
public:
    HtmlCopy(libhtmlpp::Element *index){
        index2=index;
        // libhtmlpp::HtmlElement  el("span");
        // el.setAttribute("id","txt3");
        // libhtmlpp::HtmlElement *body=index2.getElementbyTag("body");
        // if(body)
        //     body->appendChild(&el);
        libhtmlpp::HtmlElement  el("span");
        el.setAttribute("id","txt3");
        libhtmlpp::HtmlElement *body=index2.getElementbyTag("body");
        if(body)
            body->appendChild(&el);
    }

    void printModify(){