Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17346
e93f8b46-1217-0410-a6f0-
8f06a7374b81
link_to(@russian_test,
"/projects/ecookbook/wiki/Another_page##{russian_eacape}",
:class => "wiki-page"),
+ # link to anchor
+ '[[#anchor]]' =>
+ link_to("#anchor",
+ "#anchor",
+ :class => "wiki-page"),
+ '[[#anchor|One-section]]' =>
+ link_to("One-section",
+ "#anchor",
+ :class => "wiki-page"),
# page that doesn't exist
'[[Unknown page]]' =>
link_to("Unknown page",