From 0c51b53330214af81e9d4c9f911a501c015a493c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 20 Jan 2022 11:50:19 +0100 Subject: [PATCH] Stop using `|encodeJSON` (cherry picked from commit ab1e34de9ca94dc44b20d0b4d58eca2bad80d9d3) --- com.woltlab.wcf/templates/headIncludeJsonLd.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/headIncludeJsonLd.tpl b/com.woltlab.wcf/templates/headIncludeJsonLd.tpl index 7c66ef34fd..48931de3d5 100644 --- a/com.woltlab.wcf/templates/headIncludeJsonLd.tpl +++ b/com.woltlab.wcf/templates/headIncludeJsonLd.tpl @@ -4,10 +4,10 @@ { "@context": "http://schema.org", "@type": "WebSite", -"url": "{@$__websiteUrl|encodeJSON}", +"url": {@$__websiteUrl|json}, "potentialAction": { "@type": "SearchAction", -"target": "{@$__searchTargetUrl|encodeJSON}", +"target": {@$__searchTargetUrl|json}, "query-input": "required name=search_term_string" } } -- 2.20.1