From 2c16e8e9a80dae221a9d7a1907f37129ee3bc2a1 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Fri, 18 Jan 2019 22:58:09 +0100 Subject: [PATCH] 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} -- 2.41.0