From 49106a5d8cf1153b5da23f889d15e46fa480e7cc Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Fri, 18 Jan 2019 22:58:09 +0100 Subject: fix: ensure HTML tags are stripped from OpenGraph description Fixes https://github.com/shaarli/Shaarli/issues/1250 Relates to https://github.com/shaarli/Shaarli/issues/1242 Signed-off-by: VirtualTam --- tpl/default/includes.html | 2 +- tpl/vintage/includes.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 0427e224..6c30d1bf 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -21,7 +21,7 @@ {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} - + {if="$link.thumbnail"} {/if} diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index df093495..2efb6b10 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html @@ -18,7 +18,7 @@ {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} - + {if="$link.thumbnail"} {/if} -- cgit v1.2.3