diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-13 03:52:07 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-13 03:52:07 +0800 |
| commit | 08fdcf8e8a83d433db7e6f5d08442dd27a729a0f (patch) | |
| tree | 3e3555b2bc039efad71df3506f42da7ba64daef0 /ricochet/src/parser/html_lexer.cc | |
| parent | 56fdb119894074efbda90766277f484a8820fb12 (diff) | |
| download | rcc-project-08fdcf8e8a83d433db7e6f5d08442dd27a729a0f.tar.gz rcc-project-08fdcf8e8a83d433db7e6f5d08442dd27a729a0f.tar.xz | |
feat: replace numeric link selection with two-character link hints
Diffstat (limited to 'ricochet/src/parser/html_lexer.cc')
| -rw-r--r-- | ricochet/src/parser/html_lexer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ricochet/src/parser/html_lexer.cc b/ricochet/src/parser/html_lexer.cc index 2aa05b1..4d70288 100644 --- a/ricochet/src/parser/html_lexer.cc +++ b/ricochet/src/parser/html_lexer.cc @@ -36,7 +36,7 @@ enum class LexerState : std::uint8_t void emit_text( std::string& buffer, std::vector<HtmlToken>& tokens ) { if ( buffer.empty() ) { - return; // 提前返回,减少 if 嵌套层级 + return; } bool all_whitespace = true; |
