From ea98d1897221361edac47d1dd30e4e29a7fdff3f Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 8 Mar 2018 07:01:16 +0000 Subject: [PATCH] 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 --- app/views/wiki/export.html.erb | 2 +- app/views/wiki/export_multiple.html.erb | 2 +- 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 -<%= textilizable @content, :text, :wiki_links => :local %> +<%= textilizable @content, :text, :wiki_links => :local, :only_path => false %> 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| %>
-<%= textilizable page.content ,:text, :wiki_links => :anchor %> +<%= textilizable page.content ,:text, :wiki_links => :anchor, :only_path => false %> <% end %>