Skip to content

Commit f72ea3f

Browse files
committed
英語版統計ページのHTMLリンク構文を修正
- <%= %> タグ内のHTMLタグをエスケープ回避するため条件分岐に変更 - "transition charts" へのリンクが正しく機能するように修正
1 parent 4d38a36 commit f72ea3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/views/stats/show.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,11 @@
233233
</tr>
234234
</table>
235235
<span style="font-size: 10px;">
236-
<%= @lang == 'en' ? 'Data from the <a href="#graph">transition charts</a> above' : '<a href="#graph">冒頭の推移グラフ</a> を表にしたデータです' %>
236+
<% if @lang == 'en' %>
237+
※ Data from the <a href="#graph">transition charts</a> above
238+
<% else %>
239+
<a href="#graph">冒頭の推移グラフ</a> を表にしたデータです
240+
<% end %>
237241
</span>
238242
</div>
239243

0 commit comments

Comments
 (0)