Skip to content

Commit fcec7f2

Browse files
authored
Merge pull request #1652 from future-architect/feature
GitHubの編集リンクがタイトルに「#」が入っている場合に壊れないように修正
2 parents 82fbcc7 + d0bf06e commit fcec7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h2 itemprop="name" class="<%= class_name %>"><%= post.title %>
22
<% if (is_post()) {%>
3-
<a href="https://github.com/future-architect/future-architect.github.io/edit/main/source/<%= page.source %>" title="Suggest Edits" class="github-edit"><i class="github-edit-icon"></i></a>
3+
<a href="https://github.com/future-architect/future-architect.github.io/edit/main/source/<%= encodeURIComponent(page.source) %>" title="Suggest Edits" class="github-edit"><i class="github-edit-icon"></i></a>
44
<% } %>
55
</h2>

0 commit comments

Comments
 (0)