Actions
Defect #43491
openFix incorrect link for the Japanese CommonMark Quick Reference
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Clicking the link to the right of “Font Styles” resulted in an exception because the target page did not exist.
Updating the link as shown below resolves the issue.
diff --git a/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb
index 15268ac42..dbf36a2b8 100644
--- a/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb
+++ b/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb
@@ -10,7 +10,7 @@
<h1>Wiki記法 クイックリファレンス (CommonMark Markdown (GitHub Flavored))</h1>
<table style="width:100%">
-<tr><th colspan="3">Font Styles <span class="more_info">(<a href="wiki_syntax_detailed_markdown.html#5" target="_blank">詳細</a>)</span></th></tr>
+<tr><th colspan="3">Font Styles <span class="more_info">(<a href="<%= help_wiki_syntax_path(:detailed, anchor: "5") %>" target="_blank">詳細</a>)</span></th></tr>
<tr><th><%= image_tag("jstoolbar/bold.svg", { alt: "太字" }) %></th><td style="width:50%;">**太字**</td><td style="width:50%;"><strong>太字</strong></td></tr>
<tr><th><%= image_tag("jstoolbar/italic.svg", { alt: "斜体" }) %></th><td>*斜体*</td><td><em>斜体</em></td></tr>
<tr><th><%= image_tag("jstoolbar/strikethrough.svg", { alt: "取り消し線" }) %></th><td>~~取り消し線~~</td><td><del>取り消し線</del></td></tr>
Actions