Commit 4d8c224 1 parent b8ab7b8 commit 4d8c224 Copy full SHA for 4d8c224
File tree 2 files changed +3
-3
lines changed
_includes/git-wiki/defines
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- {% assign version = "2.8.0 " %}
1
+ {% assign version = "2.8.1 " %}
2
2
{% capture lchar %}{{page.url | slice: -1, 1}}{% endcapture %}
3
3
{% capture url %}
4
4
{% if lchar == "/" %}{{page.url}}index.html{% else %}{{ page.url | default: 'index.html' }}{% endif%}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var jsondata=[
11
11
"tags" : "{{ post.tags | join: ', ' }}" ,
12
12
"url" : "{{ site.baseurl }}{{ post.url }}" ,
13
13
"date" : "{{ post.date }}" ,
14
- "content" : " {{ post .content | strip_html | strip_newlines | remove: '" ' }}"
14
+ "content" : { { page . content | jsonify } }
15
15
} { % unless forloop . last % } , { % endunless % }
16
16
{ % endfor % }
17
17
,
@@ -24,7 +24,7 @@ var jsondata=[
24
24
"tags" : "{{ page.tags | join: ', ' }}" ,
25
25
"url" : "{{ site.baseurl }}{{ page.url }}" ,
26
26
"date" : "{{ page.date }}" ,
27
- "content" : " {{ page.content | strip_html | strip_newlines | remove: '" ' }}"
27
+ "content" : { { page . content | jsonify } }
28
28
{ % endif % }
29
29
} { % unless forloop . last % } , { % endunless % }
30
30
{ % endfor % }
You can’t perform that action at this time.
0 commit comments