From 88771fbc972b12757b9540a42feef0a446f7ff0d Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sun, 23 Jun 2019 16:43:28 -0500 Subject: [PATCH] Trim data elements beginning with colons in bml. --- bml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bml.cpp b/bml.cpp index 05aa88c8..b31cac3c 100644 --- a/bml.cpp +++ b/bml.cpp @@ -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); }