fix(anatomy): R5.4 guard covers links, autolinks, references, CJK underscores; ids validated at the op; prescan before the drawing comparison

This commit is contained in:
bchanot committed 2026-10-23 12:10:35 +02:00
1 parent 68dec25e5e
commit df82424107
9 files changed
+195 -12

No files matched your search

@@ -61,6 +61,33 @@ const PATTERNS = [
'a|b',
'<b>gras</b>',
'[lien](https://example.org/x)',
'[a](<b>)',
'[a]( b )',
'[a](b "t")',
'[a](b (t))',
'[a](b&amp;c)',
'[a](b\\)c)',
'[a](https://x.org/a(b)c)',
']( )',
'![img](x.png)',
'[a][b]',
'<http://a&amp;b>',
'<https://example.org/x>',
'<a@b.co>',
'[[ a ]]',
'[[a]]',
'&#42;',
'&ast;',
'&#x2A;',
'&#95;',
'&lowbar;',
'&eacute;',
'doi 10.1/x<0697:toih>2.0',
'中_中',
'ア_ア',
'한_한',
'é_é',
'[a]( https://x.org )',
'&amp;',
'# titre',
'1. item',