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

test

parent c47cdbcb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1603,10 +1603,10 @@ void libhtmlpp::HtmlElement::setAttribute(const std::string &name, const std::st
        }
        cattr = _lastAttr;
        cattr->_Key.resize(name.length());
        std::copy(name.begin(),name.end(),std::insert_iterator<std::vector<char>>(cattr->_Key,cattr->_Key.begin()) );
        std::copy(name.begin(),name.end(),cattr->_Key.begin() );
    }
    cattr->_Value.resize(value.length());
    std::copy(value.begin(),value.end(),std::insert_iterator<std::vector<char>>(cattr->_Value ,cattr->_Value .begin()) );
    std::copy(value.begin(),value.end(),cattr->_Value.begin());
}

void libhtmlpp::HtmlElement::setIntAttribute(const std::string& name, int value) {