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

fixed

parent c35909d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1602,6 +1602,7 @@ void libhtmlpp::HtmlElement::setAttribute(const std::string &name, const std::st
            _lastAttr = _firstAttr;
        }
        cattr = _lastAttr;
        cattr->_Key.resize(name.length());
        std::copy(name.begin(),name.end(),std::insert_iterator<std::vector<char>>(cattr->_Key,cattr->_Key.begin()) );
    }
    cattr->_Value.resize(value.length());