Show More
@@ -88,12 +88,19 b' class TestStrings(TestsBase):' | |||
|
88 | 88 | ('test="/files"', 'test="/files"'), |
|
89 | 89 | ('My files are in `files/`', 'My files are in `files/`'), |
|
90 | 90 | ('<a href="files/test.html">files/test.html</a>', '<a href="test.html">files/test.html</a>'), |
|
91 | ('<a href="/files/test.html">files/test.html</a>', '<a href="test.html">files/test.html</a>'), | |
|
92 | ("<a href='files/test.html'>files/test.html</a>", "<a href='test.html'>files/test.html</a>"), | |
|
93 | ('<img src="files/url/location.gif">', '<img src="url/location.gif">'), | |
|
94 | ('<img src="/files/url/location.gif">', '<img src="url/location.gif">'), | |
|
91 | 95 | ('hello![caption]', 'hello![caption]'), |
|
92 | 96 | ('hello![caption](/url/location.gif)', 'hello![caption](/url/location.gif)'), |
|
93 | 97 | ('hello![caption](url/location.gif)', 'hello![caption](url/location.gif)'), |
|
94 | 98 | ('hello![caption](url/location.gif)', 'hello![caption](url/location.gif)'), |
|
95 | 99 | ('hello![caption](files/url/location.gif)', 'hello![caption](url/location.gif)'), |
|
96 |
('hello![caption](/files/url/location.gif)', 'hello![caption](url/location.gif)'), |
|
|
100 | ('hello![caption](/files/url/location.gif)', 'hello![caption](url/location.gif)'), | |
|
101 | ('hello [text](/files/url/location.gif)', 'hello [text](url/location.gif)'), | |
|
102 | ('hello [text space](files/url/location.gif)', 'hello [text space](url/location.gif)'), | |
|
103 | ] | |
|
97 | 104 | for test in tests: |
|
98 | 105 | self._try_files_prefix(test[0], test[1]) |
|
99 | 106 |
General Comments 0
You need to be logged in to leave comments.
Login now