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
plugins/markdown

View file

@ -28,6 +28,7 @@ function hook_markdown_render_linklist($data, $conf)
$value = stripNoMarkdownTag($value);
continue;
}
$value['description_src'] = $value['description'];
$value['description'] = process_markdown(
$value['description'],
$conf->get('security.markdown_escape', true),