turn <p> into \n\n

This commit is contained in:
tastytea 2018-04-15 12:06:24 +02:00
parent 7fad892ad7
commit a621d29b9e
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (mastorss
VERSION 0.5.4
VERSION 0.5.5
LANGUAGES CXX
)

View File

@ -144,7 +144,7 @@ std::vector<string> parse_website(const string &xml)
unescape_html(str);
// Try to turn the HTML into human-readable text
std::regex reparagraph("</p><p>");
std::regex reparagraph("<p>");
std::regex recdata1("<!\\[CDATA\\[");
std::regex recdata2("\\]\\]>");
std::regex restrip("<[^>]*>");