1 #ifndef LH_EL_BEFORE_AFTER_H
2 #define LH_EL_BEFORE_AFTER_H
8 class el_before_after_base
: public html_tag
11 el_before_after_base(const std::shared_ptr
<document
>& doc
, bool before
);
13 void add_style(const style
& style
) override
;
15 void add_text(const string
& txt
);
16 void add_function(const string
& fnc
, const string
& params
);
17 static string
convert_escape(const char* txt
);
20 class el_before
: public el_before_after_base
23 explicit el_before(const std::shared_ptr
<document
>& doc
) : el_before_after_base(doc
, true)
29 class el_after
: public el_before_after_base
32 explicit el_after(const std::shared_ptr
<document
>& doc
) : el_before_after_base(doc
, false)
39 #endif // LH_EL_BEFORE_AFTER_H