1
0
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:
Go MAEDA 2018-03-08 07:01:16 +00:00
parent d8e7bf08d6
commit ea98d18972
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>