Refactor RegularLink image & video handling
This commit is contained in:
parent
f17923047b
commit
2399fec2eb
4 changed files with 45 additions and 12 deletions
17
org/testdata/example.html
vendored
17
org/testdata/example.html
vendored
|
@ -162,7 +162,22 @@ regular link <a href="https://example.com">example.com</a> link with description
|
|||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to a file (image) <img src="my-img.png" alt="file:my-img.png" title="file:my-img.png" />
|
||||
regular link to a file (image) <img src="my-img.png" alt="my-img.png" title="my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to a file (video) <video src="my-video.mp4" title="my-video.mp4">my-video.mp4</video>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to http (image) <img src="http://www.example.com/my-img.png" alt="http://www.example.com/my-img.png" title="http://www.example.com/my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to https (image) <img src="https://www.example.com/my-img.png" alt="https://www.example.com/my-img.png" title="https://www.example.com/my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue