From 97014df244ebc053f4e631ae8f17f492669087a6 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 28 Nov 2023 12:14:37 +0100 Subject: [PATCH] html: fix localizable attribute mapping Signed-off-by: Simon Rozman --- include/stdex/html.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdex/html.hpp b/include/stdex/html.hpp index 0e9ce8691..c1a582d98 100644 --- a/include/stdex/html.hpp +++ b/include/stdex/html.hpp @@ -2324,7 +2324,7 @@ namespace stdex s.get())); stdex::mapping rel_value(a.value.start, 0); t_value->mapping.push_back(rel_value); - stdex::sgml2strcpy(t_value->text, m_source + a.value.start, a.value.size(), 0, rel_value, &t_value->mapping); + stdex::sgml2strcat(t_value->text, m_source + a.value.start, a.value.size(), 0, rel_value, &t_value->mapping); append_token(std::move(t_value), t->text); t->text_type |= has_tokens; offset = a.value.end;