Merge pull request from ArthurHoaro/feature/opengraph

Add OpenGraph meta tags on permalink page
This commit is contained in:
ArthurHoaro 2018-10-06 13:31:07 +02:00 committed by GitHub
commit e95247d41d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 44 additions and 1 deletions

View file

@ -47,6 +47,8 @@ class PluginMarkdownTest extends PHPUnit_Framework_TestCase
$data = hook_markdown_render_linklist($data, $this->conf);
$this->assertNotFalse(strpos($data['links'][0]['description'], '<h1>'));
$this->assertNotFalse(strpos($data['links'][0]['description'], '<p>'));
$this->assertEquals($markdown, $data['links'][0]['description_src']);
}
/**