diff options
-rw-r--r-- | spec.txt | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -4376,15 +4376,16 @@ And this is not parsed as a link: <p>[not a <code>link](/foo</code>)</p> . -But this is a link: +Code spans, HTML tags, and autolinks have the same precedence. +Thus, this is code: . -<http://foo.bar.`baz>` +`<a href="`">` . -<p><a href="http://foo.bar.%60baz">http://foo.bar.`baz</a>`</p> +<p><code><a href="</code>">`</p> . -And this is an HTML tag: +But this is an HTML tag: . <a href="`">` @@ -4392,6 +4393,22 @@ And this is an HTML tag: <p><a href="`">`</p> . +And this is code: + +. +`<http://foo.bar.`baz>` +. +<p><code><http://foo.bar.</code>baz>`</p> +. + +But this is an autolink: + +. +<http://foo.bar.`baz>` +. +<p><a href="http://foo.bar.%60baz">http://foo.bar.`baz</a>`</p> +. + When a backtick string is not closed by a matching backtick string, we just have literal backticks: |