File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if (keywords instanceof Array) {
7
7
}
8
8
var description = page .description || page .excerpt || (is_post () && page .content ) || config .description
9
9
if (description) {
10
- description = escape_html ( strip_html (description).substring (0 , 200 ).trim () ).replace (/ \n / g , ' ' )
10
+ description = strip_html (description).substring (0 , 200 ).trim ().replace (/ \n / g , ' ' )
11
11
}
12
12
var ogImage = page .og_img || page .index_img
13
13
var ogConfig = Object .assign ({ image: ogImage && url_for (ogImage) }, theme .open_graph )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ page.banner_mask_alpha = theme.index.banner_mask_alpha
30
30
< % var excerpt = post .description || post .excerpt || (theme .index .auto_excerpt .enable && post .content ) % >
31
31
< a class = " index-excerpt <%= index_img ? '' : 'index-excerpt__noimg' %>" href= " <%= post_url %>" target= " <%- theme.index.post_url_target %>" >
32
32
< div>
33
- < %- escape_html ( strip_html (excerpt).substring (0 , 200 ).trim () ).replace (/ \n / g , ' ' ) % >
33
+ < %- strip_html (excerpt).substring (0 , 200 ).trim ().replace (/ \n / g , ' ' ) % >
34
34
< / div>
35
35
< / a>
36
36
You can’t perform that action at this time.
0 commit comments