Commit 8ac01737 authored by maeda's avatar maeda
Browse files

Generate full URLs to images and linked pages in the Wiki HTML export (#16446).

Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@17229 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2c0da7d9
......@@ -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>
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment