Strip tags from title in JSON-LD

(cherry picked from commit 0bb74527677de3163f9fa81d7320680b0f1adb91)
Signed-off-by: Sascha Wagner <sascha.wagner.89@gmail.com>
This commit is contained in:
Sascha Wagner 2016-02-02 08:56:12 +01:00
parent 3090b344d8
commit ad1ea4186d

View file

@ -7,8 +7,8 @@
{ {
"@context": "http://schema.org", "@context": "http://schema.org",
"@type": "BlogPosting", "@type": "BlogPosting",
"name": "{{ article.title }}", "name": "{{ article.title|striptags }}",
"headline": "{{ article.title }}", "headline": "{{ article.title|striptags }}",
"datePublished": "{{ article.date }}", "datePublished": "{{ article.date }}",
"dateModified": "{{ article.modified }}", "dateModified": "{{ article.modified }}",
"author": { "author": {