Add f() (finish/finalize) to HTMLBuidler.

This commit is contained in:
Relintai 2021-11-01 20:56:13 +01:00
parent b1be711eb4
commit 1a09dd13b0
2 changed files with 6 additions and 0 deletions

View File

@ -1719,6 +1719,10 @@ HTMLBuilder *HTMLBuilder::cwbr() {
return this;
}
void HTMLBuilder::f() {
write_tag();
}
HTMLBuilder *HTMLBuilder::w(const String &val) {
write_tag();

View File

@ -306,6 +306,8 @@ public:
HTMLBuilder *cvideo();
HTMLBuilder *cwbr();
void f();
//write
HTMLBuilder *w(const String &val);
//write_escaped