Oops, forgot a ;.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-05-17 05:54:30 +02:00
parent f9563cddcd
commit 751e6b2d12
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 4 deletions

View File

@ -98,12 +98,12 @@ const string URI::strip_html(const string &html)
{ {
string out; string out;
out = remove_html_tags(html, "script") // Remove JavaScript. out = remove_html_tags(html, "script"); // Remove JavaScript.
out = remove_html_tags(out, "style"); // Remove CSS. out = remove_html_tags(out, "style"); // Remove CSS.
out = remove_html_tags(out); // Remove tags. out = remove_html_tags(out); // Remove tags.
size_t pos = 0; 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, ""); out.replace(pos, 1, "");
} }