nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b3145
)
contrib/nitiwiki: preserve uppercase letter in title (for acronyms like FFI)
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 16 May 2016 13:06:17 +0000
(09:06 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 2 Jun 2016 19:33:59 +0000
(15:33 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/nitiwiki/src/wiki_base.nit
patch
|
blob
|
history
diff --git
a/contrib/nitiwiki/src/wiki_base.nit
b/contrib/nitiwiki/src/wiki_base.nit
index
70cf35f
..
e415d7a
100644
(file)
--- a/
contrib/nitiwiki/src/wiki_base.nit
+++ b/
contrib/nitiwiki/src/wiki_base.nit
@@
-244,7
+244,7
@@
class Nitiwiki
# Used to translate ids in beautiful page names.
fun pretty_name(name: String): String do
name = name.replace("_", " ")
- name = name.capitalized
+ name = name.capitalized(keep_upper=true)
return name
end
end