nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b838f64
)
nitiwiki: reintroduce `make wikilink relative` (d03b2d99f) broken by 98a42459
author
Jean Privat
<jean@pryen.org>
Thu, 9 Jul 2015 15:40:15 +0000
(11:40 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 9 Jul 2015 17:50:08 +0000
(13:50 -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
6af6d48
..
96c6fd6
100644
(file)
--- a/
contrib/nitiwiki/src/wiki_links.nit
+++ b/
contrib/nitiwiki/src/wiki_links.nit
@@
-250,7
+250,7
@@
private class NitiwikiDecorator
var name = token.name
if target != null then
if name == null then name = target.title
- link = target.url
+ link = target.href_from(context)
else
wiki.message("Warning: unknown wikilink `{link}` (in {context.src_path.as(not null)})", 0)
v.add "class=\"broken\" "