Skip to content

Commit 10730e1

Browse files
JohelEGPAshe Connor
authored andcommitted
Fix extended email autolink ambiguity (commonmark#152)
1 parent 78d8268 commit 10730e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/spec.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9318,10 +9318,10 @@ the following rules:
93189318

93199319
* One ore more characters which are alphanumeric, or `.`, `-`, `_`, or `+`.
93209320
* An `@` symbol.
9321-
* One or more characters which are alphanumeric, or `.`, `-`, or `_`. At least
9322-
one of the characters here must be a period (`.`). The last character must
9323-
not be one of `-` or `_`. If the last character is a period (`.`), it will
9324-
be excluded from the autolink.
9321+
* One or more characters which are alphanumeric, or `-` or `_`,
9322+
separated by periods (`.`).
9323+
There must be at least one period.
9324+
The last character must not be one of `-` or `_`.
93259325

93269326
The scheme `mailto:` will automatically be added to the generated link:
93279327

0 commit comments

Comments
 (0)