Skip to content

Commit

Permalink
Trim data elements beginning with colons in bml.
Browse files Browse the repository at this point in the history
  • Loading branch information
bearoso committed Jun 23, 2019
1 parent 1580c5f commit 88771fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void bml_parse_data(bml_node &node, std::string &line)
len = 1;
while (line[len] && !islf(line[len]))
len++;
node.data = line.substr(1, len - 1);
node.data = trim(line.substr(1, len - 1));
line.erase(0, len);
}

Expand Down

0 comments on commit 88771fb

Please sign in to comment.