Fix one of the link helpers.

This commit is contained in:
Relintai 2021-11-16 17:05:57 +01:00
parent b8b2d5a3a6
commit e99a82919d

View File

@ -1501,7 +1501,7 @@ HTMLTag *HTMLBuilder::wbr() {
} }
HTMLTag *HTMLBuilder::a(const String &href, const String &cls, const String &id) { HTMLTag *HTMLBuilder::a(const String &href, const String &cls, const String &id) {
HTMLTag *t = input_text(); HTMLTag *t = a();
t->href(href); t->href(href);