mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-18 09:32:02 +00: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:
parent
d8e7bf08d6
commit
ea98d18972
@ -16,6 +16,6 @@ h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<%= textilizable @content, :text, :wiki_links => :local %>
|
<%= textilizable @content, :text, :wiki_links => :local, :only_path => false %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</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| %>
|
<% @pages.each do |page| %>
|
||||||
<hr />
|
<hr />
|
||||||
<a name="<%= page.title %>" />
|
<a name="<%= page.title %>" />
|
||||||
<%= textilizable page.content ,:text, :wiki_links => :anchor %>
|
<%= textilizable page.content ,:text, :wiki_links => :anchor, :only_path => false %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user