Assert LinkRendererTest for external URL
This commit is contained in:
parent
aa4ad02b46
commit
b6164f07cc
@ -37,7 +37,7 @@ class LinkRendererTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
// /Widgets/Page
|
// /Widgets/Page
|
||||||
['<a href="http://google.ch">Link</a>', '[Link](http://google.ch)', 'Widgets/Page.html'],
|
['<a href="http://google.ch" class="external">Link</a>', '[Link](http://google.ch)', 'Widgets/Page.html'],
|
||||||
['<a href="#features">Link</a>', '[Link](#features)', 'Widgets/Page.html'],
|
['<a href="#features">Link</a>', '[Link](#features)', 'Widgets/Page.html'],
|
||||||
['<a href="Button.html">Link</a>', '[Link](Button.md)', 'Widgets/Page.html'],
|
['<a href="Button.html">Link</a>', '[Link](Button.md)', 'Widgets/Page.html'],
|
||||||
['<a href="Button.html">Link</a>', '[Link](./Button.md)', 'Widgets/Page.html'],
|
['<a href="Button.html">Link</a>', '[Link](./Button.md)', 'Widgets/Page.html'],
|
||||||
|
Loading…
Reference in New Issue
Block a user