Bugfix: would hang if link is of class mention
the build was successful Details

This commit is contained in:
tastytea 2018-08-19 22:19:48 +02:00
parent 3808a89a13
commit cade0f8a4a
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7) cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon project (expandurl-mastodon
VERSION 0.9.12 VERSION 0.9.13
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -43,8 +43,8 @@ const std::vector<string> get_urls(const string &html)
{ {
string url = Easy::unescape_html(match[1].str()); string url = Easy::unescape_html(match[1].str());
v.push_back(strip(expand(url))); v.push_back(strip(expand(url)));
buffer = match.suffix().str();
} }
buffer = match.suffix().str();
} }
return v; return v;