Merge pull request #405 from tacnoman/assertTestMarkdown
Assert LinkRendererTest for external URL
This commit is contained in:
commit
232da9676c
@ -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