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

test it

parent e4b5a67f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -634,11 +634,14 @@ namespace libhtmlpp {
        copy_r(prev,dest,src);

        for(const Element* curel=src->nextElement(); curel; curel=curel->nextElement()){

            if(curel->getType()==HtmlEl)
                dest->_nextElement= new HtmlElement();
            else if(curel->getType()==TextEl)
                dest->_nextElement= new TextElement();
            copy_r(src,dest->_nextElement,curel);

            dest=dest->_nextElement;
        }
    }
};