nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a92d27
)
ni_nitdoc: open show code links in new tab
author
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 8 Aug 2013 14:12:34 +0000
(10:12 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 8 Aug 2013 14:12:34 +0000
(10:12 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/ni_nitdoc.nit
patch
|
blob
|
history
diff --git
a/src/ni_nitdoc.nit
b/src/ni_nitdoc.nit
index
b6e62e6
..
32c668a
100644
(file)
--- a/
src/ni_nitdoc.nit
+++ b/
src/ni_nitdoc.nit
@@
-270,7
+270,7
@@
abstract class NitdocPage
source = x.join(l.line_start.to_s)
x = source.split_with("%L")
source = x.join(l.line_end.to_s)
- return " (<a href=\"{source.to_s}\">source</a>)"
+ return " (<a target='_blank' title='Show source' href=\"{source.to_s}\">source</a>)"
end
end