nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8aba3
)
nitiwiki: make wikilinks relative
author
Jean Privat
<jean@pryen.org>
Fri, 12 Jun 2015 15:09:30 +0000
(11:09 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 12 Jun 2015 16:40:24 +0000
(12:40 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
contrib/nitiwiki/src/wiki_links.nit
patch
|
blob
|
history
diff --git
a/contrib/nitiwiki/src/wiki_links.nit
b/contrib/nitiwiki/src/wiki_links.nit
index
6dfee80
..
bdb27da
100644
(file)
--- a/
contrib/nitiwiki/src/wiki_links.nit
+++ b/
contrib/nitiwiki/src/wiki_links.nit
@@
-248,7
+248,7
@@
private class NitiwikiDecorator
end
if target != null then
if name == null then name = target.title
- link = target.url
+ link = target.href_from(context)
else
var loc = context.src_path or else context.name
wiki.message("Warning: unknown wikilink `{link}` (in {loc})", 0)