From 325c7b7b493b4f760acd392f97d2b512e4b3f34e Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Mon, 11 May 2026 14:10:04 +0500 Subject: RSS spec compliance update --- src/RSS.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/RSS.hpp') 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; }; -- cgit v1.3