fix(agents): keep import tokens outside URI scheme matches

This commit is contained in:
4gray committed 2026-09-21 03:45:46 +02:00
1 parent 3ea051532a
commit 8d798e050b
3 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ HTML video, audio, source and track `src` assets and video posters use the same
existence checks as images. Entity decoding uses full HTML text/attribute rules,
including references whose semicolon may be omitted.
Inline guidance imports are rejected after punctuation as well as whitespace.
At-signs inside external URIs (including opaque schemes such as mailto) are excluded
At-signs inside external URIs (including explicit opaque autolinks such as mailto) are excluded
per HTML text node, preserving adjacent imports. A colon directly before an import
does not make that import a URI.
A closing bracket followed by punctuation and an at-sign terminates a bare URL exclusion.