mirror of
https://github.com/redmine/redmine.git
synced 2026-01-16 20:43:03 +01:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user