From cade0f8a4af9c1584f7abe3b4bc8bdc22d3f3b50 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 19 Aug 2018 22:19:48 +0200 Subject: [PATCH] Bugfix: would hang if link is of class mention --- CMakeLists.txt | 2 +- src/url.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e1e6f6..ca559c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.9.12 + VERSION 0.9.13 LANGUAGES CXX ) diff --git a/src/url.cpp b/src/url.cpp index a1832f0..046d242 100644 --- a/src/url.cpp +++ b/src/url.cpp @@ -43,8 +43,8 @@ const std::vector get_urls(const string &html) { string url = Easy::unescape_html(match[1].str()); v.push_back(strip(expand(url))); - buffer = match.suffix().str(); } + buffer = match.suffix().str(); } return v;