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

script have no childs

parent 53772b72
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -200,7 +200,16 @@ namespace libhtmlpp {
        void        setScript(const char *txt);

        int         getType() const;

        void         insertChild(const Element* el)=delete;
        void         insertChild(const Element& el)=delete;
        void         appendChild(const Element* el)=delete;
        void         appendChild(const Element& el)=delete;

    protected:

        Element*    _childElement=nullptr;

        std::vector<char> _Script;
        std::vector<char> _CStr;
        friend class HtmlString;