xarmian
1eecf710c8
fix(web): angle-bracketed prose survives the editor: <Button>, Promise<T>, comments and unknown tags are text, not dropped markup (BUG-3557) ( #2035 )
...
The editor parsed markdown with html enabled, so `<Name>` in prose was a
tag the schema could not hold: dropped on the next flush (one keystroke,
or an agent's write applied by an open tab, which answered 200 while the
text vanished). `<Table>` became an empty table that was then removed.
htmlProse.ts derives the allowlist from the schema's own parse rules, so
the HTML the editor itself writes (tables with spans, HTML-only marks)
still reads back:
- an inline tag passes only if written lower case, matching an inline
node's or a mark's rule, and closing one that passed; anything else
is literal text;
- an HTML block passes only if every tag in it matches a rule; otherwise
it is kept whole as an HtmlBlock (stored as a ```html fence);
- comments are visible text.
PadText escapes `<` only where the parse would read a tag, so
`Promise<T>` round-trips byte for byte. Both the editor and the headless
materializer take the same extensions, right after StarterKit.
materializerParity now skips and counts cases where the two live tabs
converge to different documents (BUG-3568, pre-existing: 2 of 300 seeds
on main), at most 2 of 50, and still requires the materializer to match
one of them; such cases stay out of the Go corpus (lead ruling).
Claude-Session: https://claude.ai/code/session_01FAVXA5mJ5BNhKmv95jxQkQ
2026-10-10 20:12:18 -04:00
..
2026-10-09 10:42:55 -04:00
2026-10-08 21:44:36 -04:00
2026-07-05 20:47:30 -04:00
2026-09-30 14:58:39 -04:00
2026-09-30 14:58:39 -04:00
2026-09-27 02:12:13 -04:00
2026-08-10 22:39:32 +00:00
2026-10-07 04:45:59 -04:00
2026-10-09 11:10:32 -04:00
2026-08-11 12:45:07 +00:00
2026-08-11 13:39:05 +00:00
2026-09-25 05:13:44 -04:00
2026-07-23 16:38:55 -04:00
2026-09-29 13:40:21 -04:00
2026-09-28 19:25:55 -04:00
2026-09-25 01:24:09 -04:00
2026-08-16 20:52:32 -04:00
2026-09-28 17:42:17 -04:00
2026-09-24 03:28:59 -04:00
2026-08-17 03:24:24 -04:00
2026-09-26 11:47:13 -04:00
2026-09-25 20:06:49 -04:00
2026-09-23 20:40:50 -04:00
2026-09-09 19:34:50 -04:00
2026-09-30 14:58:39 -04:00
2026-10-05 03:53:12 -04:00
2026-09-14 00:18:50 -04:00
2026-09-24 03:28:59 -04:00
2026-09-22 10:11:21 -04:00
2026-09-22 11:12:22 -04:00
2026-09-22 08:56:13 -04:00
2026-09-25 05:53:33 -04:00
2026-09-23 08:29:21 -04:00
2026-09-30 14:58:39 -04:00
2026-10-08 11:30:54 -04:00
2026-09-25 23:30:49 -04:00
2026-09-25 22:38:29 -04:00
2026-10-08 11:30:54 -04:00
2026-09-24 03:28:59 -04:00
2026-09-24 03:28:59 -04:00
2026-09-24 03:28:59 -04:00
2026-09-24 03:28:59 -04:00
2026-10-09 11:10:32 -04:00
2026-09-24 03:28:59 -04:00
2026-09-22 12:19:23 -04:00
2026-09-22 18:32:41 -04:00
2026-09-23 08:29:21 -04:00
2026-09-23 11:34:54 -04:00
2026-09-23 13:34:52 -04:00
2026-09-30 14:58:39 -04:00
2026-09-23 15:22:22 -04:00
2026-10-07 06:40:06 -04:00
2026-09-25 20:06:49 -04:00
2026-10-09 11:10:32 -04:00
2026-09-24 11:24:33 -04:00
2026-09-24 16:42:14 -04:00
2026-09-30 09:34:38 -04:00
2026-09-24 17:52:32 -04:00
2026-10-09 11:10:32 -04:00
2026-09-26 14:16:42 -04:00
2026-10-08 11:30:54 -04:00
2026-10-08 11:30:54 -04:00
2026-09-26 21:28:37 -04:00
2026-09-26 14:08:07 -04:00
2026-09-27 04:39:04 -04:00
2026-09-30 08:03:49 -04:00
2026-09-30 16:49:09 -04:00
2026-10-08 16:46:28 -04:00
2026-10-08 21:44:36 -04:00
2026-10-06 10:59:53 -04:00
2026-10-06 10:49:45 -04:00
2026-10-07 09:33:37 -04:00
2026-10-06 18:31:29 -04:00
2026-10-07 06:51:38 -04:00
2026-10-08 12:17:51 -04:00
2026-10-07 22:05:11 -04:00
2026-10-09 10:55:15 -04:00
2026-10-09 11:10:32 -04:00
2026-10-09 10:42:55 -04:00
2026-10-09 11:32:10 -04:00
2026-10-10 03:56:32 -04:00
2026-10-10 09:08:04 -04:00
2026-10-10 20:12:18 -04:00
2026-09-24 03:28:59 -04:00
2026-09-26 22:34:08 -04:00
2026-04-22 22:35:08 -04:00
2026-10-02 19:57:23 -04:00
2026-10-02 19:57:23 -04:00
2026-09-26 00:10:28 -04:00
2026-07-26 10:09:10 -04:00
2026-09-01 03:44:02 +00:00
2026-07-26 19:04:50 -04:00
2026-09-08 21:33:24 -04:00
2026-10-09 11:10:32 -04:00
2026-09-24 03:28:59 -04:00
2026-10-09 11:10:32 -04:00
2026-10-09 11:10:32 -04:00
2026-09-13 21:24:16 -04:00
2026-09-07 17:32:36 -04:00
2026-10-09 11:10:32 -04:00
2026-09-30 14:58:39 -04:00
2026-07-24 19:30:00 -04:00
2026-10-07 04:45:59 -04:00
2026-10-09 11:10:32 -04:00
2026-09-27 19:33:41 -04:00
2026-09-28 16:57:28 -04:00
2026-09-27 19:33:41 -04:00
2026-10-03 09:19:10 -04:00
2026-10-08 02:53:41 -04:00
2026-10-05 03:53:12 -04:00
2026-10-02 19:57:23 -04:00
2026-09-30 14:58:39 -04:00
2026-10-10 00:23:07 -04:00
2026-09-07 17:32:36 -04:00
2026-04-22 22:35:08 -04:00
2026-10-05 19:03:24 -04:00
2026-09-02 19:42:50 +00:00
2026-10-07 16:55:14 -04:00
2026-08-11 15:43:42 +00:00
2026-10-10 09:34:37 -04:00
2026-10-08 08:29:44 -04:00
2026-10-08 13:41:39 -04:00
2026-10-08 13:11:16 -04:00
2026-10-09 09:54:50 -04:00
2026-10-08 19:17:28 -04:00
2026-10-09 00:43:14 -04:00
2026-10-08 13:55:45 -04:00
2026-10-08 13:51:19 -04:00
2026-10-08 19:05:57 -04:00
2026-10-09 05:34:46 -04:00
2026-10-09 07:35:52 -04:00
2026-10-09 08:48:43 -04:00
2026-10-09 07:44:54 -04:00
2026-10-10 11:49:06 -04:00
2026-10-07 02:13:33 -04:00
2026-10-09 04:58:12 -04:00
2026-10-09 07:35:06 -04:00
2026-10-09 03:16:57 -04:00
2026-10-09 11:10:32 -04:00
2026-10-09 04:12:25 -04:00
2026-10-07 06:51:38 -04:00
2026-10-09 11:00:25 -04:00
2026-10-08 21:32:04 -04:00
2026-10-09 12:30:19 -04:00
2026-10-09 08:48:48 -04:00
2026-10-09 14:32:52 -04:00
2026-10-09 02:04:52 -04:00
2026-10-05 03:53:12 -04:00
2026-10-09 04:11:09 -04:00
2026-10-08 21:44:36 -04:00
2026-10-09 09:50:16 -04:00
2026-10-09 08:48:53 -04:00
2026-10-08 18:39:42 -04:00
2026-10-09 13:30:10 -04:00
2026-10-07 00:19:35 -04:00
2026-10-02 19:57:23 -04:00
2026-09-11 17:18:56 -04:00
2026-10-07 15:32:36 -04:00
2026-10-02 19:57:23 -04:00
2026-10-08 21:44:36 -04:00
2026-10-10 10:29:55 -04:00
2026-10-10 04:08:57 -04:00
2026-09-30 16:47:53 -04:00
2026-09-30 16:49:25 -04:00
2026-10-05 06:09:12 -04:00
2026-10-05 10:15:06 -04:00
2026-10-07 16:49:10 -04:00
2026-10-05 10:21:28 -04:00
2026-10-08 21:44:36 -04:00
2026-10-09 01:10:27 -04:00
2026-10-09 17:34:58 -04:00
2026-10-09 07:19:50 -04:00
2026-10-09 20:32:46 -04:00
2026-10-10 14:41:25 -04:00
2026-10-10 14:41:25 -04:00
2026-10-10 17:47:23 -04:00
2026-09-30 14:58:39 -04:00
2026-10-06 12:16:32 -04:00
2026-09-28 11:37:37 -04:00
2026-10-08 21:44:36 -04:00