1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-26 12:04:46 +01:00

Merge pull request #571 from bkmgit/v2

add tests for ftp links
This commit is contained in:
Russ Ross 2020-02-18 16:46:30 -07:00 committed by GitHub
commit a1ae674f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -244,6 +244,18 @@ numbers and spaces, but are <em>not</em> case sensitive:</p>
&lt;a href=&quot;http://www.nytimes.com/&quot;&gt;The New York Times&lt;/a&gt;.&lt;/p&gt;
</code></pre>
<p>It is also common to find other protocols such as ftp used for links:</p>
<p>Input:</p>
<pre><code>For example one may test download speeds [here](ftp://speedtest.tele2.net/)
</code></pre>
<p>Output:</p>
<pre><code>&lt;p&gt;For example one may test download speeds &lt;a href=&quot;ftp://speedtest.tele2.net/&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
</code></pre>
<h3>Images</h3>
<p>Image syntax is very much like link syntax.</p>

View File

@ -239,6 +239,15 @@ Output:
<p>I start my morning with a cup of coffee and
<a href="http://www.nytimes.com/">The New York Times</a>.</p>
It is also common to find other protocols such as ftp used for links:
Input:
For example one may test download speeds [here](ftp://speedtest.tele2.net/)
Output:
<p>For example one may test download speeds <a href="ftp://speedtest.tele2.net/">here</a>.</p>
### Images ###