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

test

parent 8ca1ded2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -250,6 +250,11 @@ const char * libhtmlpp::HtmlString::c_str(){
    return _CStr.data();
}

const std::vector<char>& libhtmlpp::HtmlString::data() {
	return _Data;
}


libhtmlpp::Element *libhtmlpp::HtmlString::parse() {
    HTMLException excp;
    Element *el=_buildTree();
+5 −4
Original line number Diff line number Diff line
@@ -262,6 +262,7 @@ namespace libhtmlpp {
        void                      clear();
        bool                      empty();
        const char *              c_str();
		const std::vector<char>&  data();  

        libhtmlpp::Element *parse();
        bool                validate(std::string *err);