jif
a6f09397aa
Compact the inline hidden tag buffer once per chunk ( #49300 )
...
## Why
Parsing multiple tag delimiters in a chunk repeatedly drained the pending
buffer, shifting its remaining contents after each delimiter.
## What changed
Track a consumed offset in `InlineHiddenTagParser::push_str` and drain the
buffer once after processing the chunk, preserving partial delimiters for
the next chunk.
## Testing
Add a regression test comparing visible text and extracted tags against
single-chunk parsing at every UTF-8 character boundary. The input covers
non-ASCII text and delimiters, adjacent tags, an empty tag, and an unfinished
tag at end of input.
GitOrigin-RevId: 18bfbfdb81060ffda30901d5cb82ee5804878b09
2026-09-29 16:26:46 +00:00
..
2026-09-22 16:07:38 +00:00
2026-09-29 13:49:49 +00:00
2026-09-29 16:09:48 +00:00
2026-09-29 15:10:17 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 18:59:50 +00:00
2026-09-29 14:46:33 +00:00
2026-09-22 06:36:09 +00:00
2026-09-27 19:14:24 +00:00
2026-08-20 08:10:08 +00:00
2026-09-23 18:25:07 +00:00
2026-09-18 00:25:37 +00:00
2026-09-21 22:58:49 +00:00
2026-09-23 00:47:34 +00:00
2026-09-25 00:20:02 +00:00
2026-09-24 00:50:02 +00:00
2026-09-29 14:46:33 +00:00
2026-09-29 13:58:09 +00:00
2026-09-29 03:32:19 +00:00
2026-08-28 19:44:50 +00:00
2026-09-25 16:57:42 +00:00
2026-09-25 16:28:36 +00:00
2026-09-25 15:42:35 +00:00
2026-09-25 20:34:52 +00:00
2026-09-29 01:14:41 +00:00
2026-09-25 00:20:02 +00:00
2026-09-24 01:50:36 +00:00
2026-05-07 15:44:17 -07:00
2026-09-29 14:46:33 +00:00
2026-09-29 16:10:27 +00:00
2026-09-18 22:40:37 +00:00
2026-09-29 16:09:48 +00:00
2026-09-26 23:17:41 +00:00
2026-09-23 22:20:34 +00:00
2026-09-29 13:08:37 +00:00
2026-08-07 11:30:17 +00:00
2026-09-05 12:17:32 +00:00
2026-09-26 23:17:41 +00:00
2026-09-29 15:41:22 +00:00
2026-09-25 18:06:57 +00:00
2026-08-17 04:37:50 +00:00
2026-09-29 16:09:48 +00:00
2026-09-29 13:52:04 +00:00
2026-09-24 17:04:24 +00:00
2026-09-19 01:21:32 +00:00
2026-09-29 04:38:37 +00:00
2026-09-28 17:40:25 +00:00
2026-09-27 20:15:23 +00:00
2026-09-29 04:38:37 +00:00
2026-09-24 14:50:27 +00:00
2026-09-11 21:59:24 +00:00
2026-09-24 18:08:31 +00:00
2026-09-29 11:51:21 +00:00
2026-09-29 04:38:37 +00:00
2026-09-28 14:46:32 +00:00
2026-09-28 06:30:53 +00:00
2026-09-29 04:38:37 +00:00
2026-09-29 01:01:34 +00:00
2026-09-29 02:33:55 +00:00
2026-09-25 19:14:31 +00:00
2026-09-26 23:17:41 +00:00
2026-09-28 00:05:54 +00:00
2026-09-23 22:20:34 +00:00
2026-09-29 01:14:41 +00:00
2026-09-29 01:14:41 +00:00
2026-09-29 01:14:41 +00:00
2026-08-21 16:45:05 +00:00
2026-09-29 14:46:33 +00:00
2026-09-29 16:16:39 +00:00
2026-09-26 23:08:50 +00:00
2026-05-26 20:59:47 -07:00
2026-09-24 18:08:31 +00:00
2026-09-28 15:58:17 +00:00
2026-09-27 03:26:57 +00:00
2026-09-28 23:44:39 +00:00
2026-09-29 13:58:09 +00:00
2026-09-28 13:43:55 +00:00
2026-09-24 20:39:37 +00:00
2026-09-29 16:00:05 +00:00
2026-09-27 19:14:24 +00:00
2026-09-29 16:26:46 +00:00
2026-09-28 00:43:04 +00:00
2026-09-23 04:25:28 +00:00
2026-09-22 23:37:39 +00:00
2026-09-29 13:09:03 +00:00
2026-09-28 19:56:33 +00:00
2026-09-23 00:47:07 +00:00
2026-09-13 18:53:06 +00:00
2026-09-29 14:46:33 +00:00
2026-09-29 13:52:04 +00:00