mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-03 23:53:23 +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>
|
||||
</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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user