Trim data elements beginning with colons in bml.
This commit is contained in:
parent
1580c5f00f
commit
88771fbc97
2
bml.cpp
2
bml.cpp
@ -124,7 +124,7 @@ static void bml_parse_data(bml_node &node, std::string &line)
|
|||||||
len = 1;
|
len = 1;
|
||||||
while (line[len] && !islf(line[len]))
|
while (line[len] && !islf(line[len]))
|
||||||
len++;
|
len++;
|
||||||
node.data = line.substr(1, len - 1);
|
node.data = trim(line.substr(1, len - 1));
|
||||||
line.erase(0, len);
|
line.erase(0, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user