summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-03-08 07:01:16 +0000
committerGo MAEDA <maeda@farend.jp>2018-03-08 07:01:16 +0000
commitea98d1897221361edac47d1dd30e4e29a7fdff3f (patch)
tree83babc1b6def6a42a21929ec81b06cee08af971a /app/views
parentd8e7bf08d6bd56464dc39c8025be0623e759ade6 (diff)
downloadredmine-ea98d1897221361edac47d1dd30e4e29a7fdff3f.tar.gz
redmine-ea98d1897221361edac47d1dd30e4e29a7fdff3f.zip
Generate full URLs to images and linked pages in the Wiki HTML export (#16446).
Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17229 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/wiki/export.html.erb2
-rw-r--r--app/views/wiki/export_multiple.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/export.html.erb b/app/views/wiki/export.html.erb
index a9df66dee..e3c76fedc 100644
--- a/app/views/wiki/export.html.erb
+++ b/app/views/wiki/export.html.erb
@@ -16,6 +16,6 @@ h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display
</style>
</head>
<body>
-<%= textilizable @content, :text, :wiki_links => :local %>
+<%= textilizable @content, :text, :wiki_links => :local, :only_path => false %>
</body>
</html>
diff --git a/app/views/wiki/export_multiple.html.erb b/app/views/wiki/export_multiple.html.erb
index b068ce1d6..421ea4f29 100644
--- a/app/views/wiki/export_multiple.html.erb
+++ b/app/views/wiki/export_multiple.html.erb
@@ -27,7 +27,7 @@ h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display
<% @pages.each do |page| %>
<hr />
<a name="<%= page.title %>" />
-<%= textilizable page.content ,:text, :wiki_links => :anchor %>
+<%= textilizable page.content ,:text, :wiki_links => :anchor, :only_path => false %>
<% end %>
</body>