fix xml.tostring

This commit is contained in:
MihailRis 2026-08-26 20:18:34 +03:00
parent 8214f1bd09
commit 99bcefaed0

View file

@ -51,7 +51,7 @@ static std::unique_ptr<xml::xmlelement> toxml(lua::State* L) {
break;
}
auto key = lua::require_lstring(L, -1);
if (key == "@") {
if (key == TAG_ATTR) {
break;
}
auto value = lua::require_lstring(L, -2);