Skip to content

Commit 0044532

Browse files
committed
Unskip links with whitespaces, split up test
Links with additional whitespaces work fine, just the convenient short syntax for anonymous hyperlink targets does not work. By splitting up the functional tests those that already work can be run and the one not working has more information added
1 parent 3323cf8 commit 0044532

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SKIP short syntax of anonymous hyperlink targets is not supported, see: https://www.dca.fee.unicamp.br/~rubens/adesso/reStructuredText/reStructuredText.html#anonymous-hyperlinks
2+
<p>This is an <a href="http://anonymous.com/">anonymous link</a></p>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This is an `anonymous link`__
2+
3+
__ http://anonymous.com/
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
SKIP Links with multiple whitespaces do not work
21
<p>This is a link to <a href="http://xkcd.com/">xkcd</a> spacy</p>
32
<p>This is another link to <a href="http://something.com/">something</a></p>
4-
<p>This is an <a href="http://anonymous.com/">anonymous link</a></p>
53
<p>I love <a href="http://www.github.com/">GitHub</a></p>
64
<p>You can read more on the features of Embeddables objects <a href="http://docs.doctrine-project.org/en/latest/tutorials/embeddables.html">in the documentation</a>.</p>

tests/Functional/tests/links-whitespaces/links-whitespaces.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ This is a link to `xkcd`_ spacy
22

33
This is another link to something_
44

5-
This is an `anonymous link`__
6-
7-
__ http://anonymous.com/
8-
95
I love GitHub__
106

117
.. __: http://www.github.com/

0 commit comments

Comments
 (0)