summaryrefslogtreecommitdiff
path: root/src/RSS.hpp
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-05-11 14:10:04 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-05-11 14:10:04 +0500
commit325c7b7b493b4f760acd392f97d2b512e4b3f34e (patch)
treea46cc6ded67d86cee660719cca1c9e5395a44cc2 /src/RSS.hpp
parent9ec645b5678f7bb15c26c52dd3abf7ed52e96667 (diff)
RSS spec compliance updateHEADmaster
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;
};