nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Use self in the FFI
[nit.git]
/
lib
/
markdown
/
wikilinks.nit
diff --git
a/lib/markdown/wikilinks.nit
b/lib/markdown/wikilinks.nit
index
473bc18
..
22b67c0
100644
(file)
--- a/
lib/markdown/wikilinks.nit
+++ b/
lib/markdown/wikilinks.nit
@@
-32,7
+32,7
@@
redef class MarkdownProcessor
if not token isa TokenLink then return token
if pos + 1 < text.length then
var c = text[pos + 1]
- if c == '[' then return new TokenWikiLink(pos, c)
+ if c == '[' then return new TokenWikiLink(token.location, pos, c)
end
return token
end