Fix html tags

This commit is contained in:
2025-12-01 09:10:36 -06:00
parent e409970ae4
commit 993c5655cc

View File

@@ -245,6 +245,9 @@ namespace Tesses::CrossLang
} }
if(txt == tokens[i].text) if(txt == tokens[i].text)
{ {
tkn = tokens[i];
i++;
return; return;
} }
} }
@@ -254,6 +257,9 @@ namespace Tesses::CrossLang
{ {
if(tokens[i].text == ">" && tokens[i+1].text == ">=" && tokens[i].type == LexTokenType::Symbol && tokens[i+1].type == LexTokenType::Symbol) if(tokens[i].text == ">" && tokens[i+1].text == ">=" && tokens[i].type == LexTokenType::Symbol && tokens[i+1].type == LexTokenType::Symbol)
{ {
tkn = tokens[i];
i+=2;
return; return;
} }
@@ -268,6 +274,8 @@ namespace Tesses::CrossLang
{ {
if(tokens[i].text == ">" && tokens[i+1].text == ">" && tokens[i].type == LexTokenType::Symbol && tokens[i+1].type == LexTokenType::Symbol) if(tokens[i].text == ">" && tokens[i+1].text == ">" && tokens[i].type == LexTokenType::Symbol && tokens[i+1].type == LexTokenType::Symbol)
{ {
tkn = tokens[i];
i+=2; i+=2;
return; return;
} }