diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-04-06 09:05:59 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-04-06 09:05:59 -0700 |
commit | 37eaf9daba17f9fbca7c674136fa24524c49ef1e (patch) | |
tree | 0db60514f3dfb6c317b43872f240396ebda55407 | |
parent | 1162c38f2f1629b16bb4c54d9fc4719cb4af0b1b (diff) |
Added additional spec examples involving link destinations in `<>`.
Closes #473.
-rw-r--r-- | spec.txt | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -7464,6 +7464,15 @@ bar>) bar>)</p> ```````````````````````````````` +The destination can contain `)` if it is enclosed +in pointy brackets: + +```````````````````````````````` example +[a](<b)c>) +. +<p><a href="b)c">a</a></p> +```````````````````````````````` + Pointy brackets that enclose links must be unescaped: ```````````````````````````````` example @@ -7472,6 +7481,18 @@ Pointy brackets that enclose links must be unescaped: <p>[link](<foo>)</p> ```````````````````````````````` +These are not links, because the opening pointy bracket +is not matched properly: + +```````````````````````````````` example +[a](<b)c +[a](<b)c> +[a](<b>c) +. +<p>[a](<b)c +[a](<b)c> +[a](<b>c)</p> +```````````````````````````````` Parentheses inside the link destination may be escaped: |