Browse Source

Bugfix: would hang if link is of class mention

tastytea 3 months ago
parent
commit
cade0f8a4a
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      src/url.cpp

+ 1
- 1
CMakeLists.txt View File

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

+ 1
- 1
src/url.cpp View File

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

Loading…
Cancel
Save