1 #ifndef LH_EL_COMMENT_H
2 #define LH_EL_COMMENT_H
8 class el_comment
: public element
12 explicit el_comment(const std::shared_ptr
<document
>& doc
);
14 bool is_comment() const override
;
15 void get_text(string
& text
) override
;
16 void set_data(const char* data
) override
;
17 std::shared_ptr
<render_item
> create_render_item(const std::shared_ptr
<render_item
>& parent_ri
) override
19 // Comments are not rendered
25 #endif // LH_EL_COMMENT_H