From 59fcb7e4db666084be4f75ff4746db19b1eeeeb2 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 13 Apr 2026 03:52:07 +0800 Subject: feat: replace numeric link selection with two-character link hints --- src/parser/html_lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser') diff --git a/src/parser/html_lexer.cc b/src/parser/html_lexer.cc index 2aa05b1..4d70288 100644 --- a/src/parser/html_lexer.cc +++ b/src/parser/html_lexer.cc @@ -36,7 +36,7 @@ enum class LexerState : std::uint8_t void emit_text( std::string& buffer, std::vector& tokens ) { if ( buffer.empty() ) { - return; // 提前返回,减少 if 嵌套层级 + return; } bool all_whitespace = true; -- cgit v1.2.3