From e99a82919daf3be4baa5af671d9d461f70ef96fa Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 16 Nov 2021 17:05:57 +0100 Subject: [PATCH] Fix one of the link helpers. --- core/html/html_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/html/html_builder.cpp b/core/html/html_builder.cpp index fe5bbc2..d8fae26 100644 --- a/core/html/html_builder.cpp +++ b/core/html/html_builder.cpp @@ -1501,7 +1501,7 @@ HTMLTag *HTMLBuilder::wbr() { } HTMLTag *HTMLBuilder::a(const String &href, const String &cls, const String &id) { - HTMLTag *t = input_text(); + HTMLTag *t = a(); t->href(href);