Skip to content

Commit c341a6c

Browse files
committed
decode html entities in articles.json and api.json
1 parent b0330fc commit c341a6c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sitemap: false
99
{
1010
"title": {{ article.title | jsonify }},
1111
"url": "https://www.dynamsoft.com{{ article.url | relative_url }}",
12-
"content": {{ article.content | strip_html | jsonify }},
12+
"content": {{ article.content | strip_html | html_decode | jsonify }},
1313
"breadcrumb": {{ article.breadcrumbText | default: article.title | jsonify }}
1414
}{% unless forloop.last %},{% endunless %}
1515
{% endfor %}

articles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sitemap: false
88
{
99
"title": {{ article.title | jsonify }},
1010
"url": "https://www.dynamsoft.com{{ article.url | relative_url }}",
11-
"content": {{ article.content | strip_html | jsonify }},
11+
"content": {{ article.content | strip_html | html_decode | jsonify }},
1212
"breadcrumb": {{ article.breadcrumbText | default: article.title | jsonify }}
1313
}{% unless forloop.last %},{% endunless %}
1414
{% endfor %}

0 commit comments

Comments
 (0)