nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitdoc: Escape links’ attributes.
[nit.git]
/
lib
/
ini.nit
diff --git
a/lib/ini.nit
b/lib/ini.nit
index
a6de8f1
..
60d2f12
100644
(file)
--- a/
lib/ini.nit
+++ b/
lib/ini.nit
@@
-199,7
+199,8
@@
class ConfigTree
else if line.has_prefix(";") then
continue
else if line.has_prefix("[") then
- var key = line.trim.substring(1, line.length - 2)
+ line = line.trim
+ var key = line.substring(1, line.length - 2)
path = key
set_node(path, null)
else