nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ni_nitdoc: new workflow for comment modification
[nit.git]
/
src
/
ni_nitdoc.nit
diff --git
a/src/ni_nitdoc.nit
b/src/ni_nitdoc.nit
index
cc0b946
..
5405e99
100644
(file)
--- a/
src/ni_nitdoc.nit
+++ b/
src/ni_nitdoc.nit
@@
-1734,7
+1734,8
@@
redef class ADoc
if text.first == ' ' then text = text.substring_from(1)
res.append(text.html_escape)
end
- return res.to_s
+ var str = res.to_s
+ return str.substring(0, str.length - 1)
end
end