diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-10-06 13:31:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-06 13:31:07 +0200 |
commit | e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08 (patch) | |
tree | 811f5f69ec5c8a364c853b146fcf88c014a28042 /plugins/markdown | |
parent | a062416918c964e7551137c08b5b5671e6e2bb7e (diff) | |
parent | a120fb2977331e0f7d7ffe05861ba179fdae8764 (diff) | |
download | Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.tar.gz Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.tar.zst Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.zip |
Merge pull request #1205 from ArthurHoaro/feature/opengraph
Add OpenGraph meta tags on permalink page
Diffstat (limited to 'plugins/markdown')
-rw-r--r-- | plugins/markdown/markdown.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/markdown/markdown.php b/plugins/markdown/markdown.php index 21972814..08e64dae 100644 --- a/plugins/markdown/markdown.php +++ b/plugins/markdown/markdown.php | |||
@@ -28,6 +28,7 @@ function hook_markdown_render_linklist($data, $conf) | |||
28 | $value = stripNoMarkdownTag($value); | 28 | $value = stripNoMarkdownTag($value); |
29 | continue; | 29 | continue; |
30 | } | 30 | } |
31 | $value['description_src'] = $value['description']; | ||
31 | $value['description'] = process_markdown( | 32 | $value['description'] = process_markdown( |
32 | $value['description'], | 33 | $value['description'], |
33 | $conf->get('security.markdown_escape', true), | 34 | $conf->get('security.markdown_escape', true), |