From 751e6b2d12d996bef4e13f5ca02323283f4b3c31 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 17 May 2019 05:54:30 +0200 Subject: [PATCH] Oops, forgot a ;. --- src/uri.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uri.cpp b/src/uri.cpp index db7d5c1..c5444b6 100644 --- a/src/uri.cpp +++ b/src/uri.cpp @@ -98,12 +98,12 @@ const string URI::strip_html(const string &html) { string out; - out = remove_html_tags(html, "script") // Remove JavaScript. - out = remove_html_tags(out, "style"); // Remove CSS. - out = remove_html_tags(out); // Remove tags. + out = remove_html_tags(html, "script"); // Remove JavaScript. + out = remove_html_tags(out, "style"); // Remove CSS. + out = remove_html_tags(out); // Remove tags. size_t pos = 0; - while ((pos = out.find("\r")) != std::string::npos) // Remove CR. + while ((pos = out.find("\r")) != std::string::npos) // Remove CR. { out.replace(pos, 1, ""); }