From 37eaf9daba17f9fbca7c674136fa24524c49ef1e Mon Sep 17 00:00:00 2001
From: John MacFarlane
Date: Sat, 6 Apr 2019 09:05:59 -0700
Subject: Added additional spec examples involving link destinations in `<>`.
Closes #473.
---
spec.txt | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/spec.txt b/spec.txt
index 6384390..9bf428d 100644
--- a/spec.txt
+++ b/spec.txt
@@ -7464,6 +7464,15 @@ bar>)
bar>)
````````````````````````````````
+The destination can contain `)` if it is enclosed
+in pointy brackets:
+
+```````````````````````````````` example
+[a]()
+.
+a
+````````````````````````````````
+
Pointy brackets that enclose links must be unescaped:
```````````````````````````````` example
@@ -7472,6 +7481,18 @@ Pointy brackets that enclose links must be unescaped:
[link](<foo>)
````````````````````````````````
+These are not links, because the opening pointy bracket
+is not matched properly:
+
+```````````````````````````````` example
+[a](
+[a](c)
+.
+[a](<b)c
+[a](<b)c>
+[a](c)
+````````````````````````````````
Parentheses inside the link destination may be escaped:
--
cgit v1.2.3