Closed ChristianMurphy closed 3 years ago
This seems to be about the actual replacement character, not about the c0 character? (as I get the error on the replacement character) 🤔
OK, I can fix it, but uhm: www.點看.com
is www.點看.com here.
Whereas the spec says:
A valid domain consists of segments of alphanumeric characters, underscores (_) and hyphens (-) separated by periods (
.
)....
alphanumeric is typically a-zA-Z0-9 in markdown. But... What does GitHub allow? 🤔
And more importantly, what should this extension?
micromark includes info on all unicode-whitespace
and unicode-punctuation
. What if we allow all other characters?
(except control characters ofc)
www. (space)
www.!
www."
www.#
www.$
www.%
www.&
www.'
www.(
www.)
www.*
www.+
www.,
www.-
www.
www..
www./
www.:
www.l
www.<
www.=
www.>
www.?
www.@
www.[
www.\
www.]
www.^
www._
www.`
www.{
www.|
www.}
www.~
www.a (space)
www.a!
www.a"
www.a#
www.a$
www.a%
www.a&
www.a'
www.a(
www.a)
www.a*
www.a+
www.a,
www.a-
www.a
www.a.
www.a/
www.a:
www.al
www.a<
www.a=
www.a>
www.a?
www.a@
www.a[
www.a\
www.a]
www.a^
www.a_
www.a`
www.a{
www.a|
www.a}
www.a~
well, that was complex.
Subject of the issue
Parser crashes when there is a backspace control character in autolink
Your environment
v15.2.1
, npm7.0.8
Steps to reproduce
Expected behavior
Text should display as
www.a
Actual behavior