nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/string: teach clients to use non deprecated services.
[nit.git]
/
src
/
nitdoc.nit
diff --git
a/src/nitdoc.nit
b/src/nitdoc.nit
index
4715068
..
abcc91f
100644
(file)
--- a/
src/nitdoc.nit
+++ b/
src/nitdoc.nit
@@
-1785,7
+1785,7
@@
redef class ADoc
for t in n_comment do
var text = t.text
text = text.substring_from(1)
- if text.first == ' ' then text = text.substring_from(1)
+ if text.chars.first == ' ' then text = text.substring_from(1)
res.append(text.html_escape)
end
var str = res.to_s