summaryrefslogtreecommitdiff
path: root/src/RSS.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RSS.hpp')
-rw-r--r--src/RSS.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RSS.hpp b/src/RSS.hpp
index c4a5b2c..8a0292b 100644
--- a/src/RSS.hpp
+++ b/src/RSS.hpp
@@ -106,8 +106,8 @@ class XML_leaf {
static std::string trimSpaces(std::string raw) {
auto outp = std::regex_replace(raw, std::regex("\n"), "");
- outp = std::regex_replace(outp, std::regex("> <"), "><");
outp = std::regex_replace(outp, std::regex(" +"), " ");
+ outp = std::regex_replace(outp, std::regex("> <"), "><");
return outp;
}
@@ -130,6 +130,7 @@ class XML_leaf {
outp.push_back(raw.substr(idx, (next_idx - idx) + 1));
idx = next_idx + 1;
}
+ // std::cout << "Tokenization done" << '\n';
return outp;
};