Browse Source

Bugfix: would hang if link is of class mention

tastytea 7 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
 cmake_minimum_required (VERSION 3.7)
1
 cmake_minimum_required (VERSION 3.7)
2
 project (expandurl-mastodon
2
 project (expandurl-mastodon
3
-         VERSION 0.9.12
3
+         VERSION 0.9.13
4
          LANGUAGES CXX
4
          LANGUAGES CXX
5
 )
5
 )
6
 
6
 

+ 1
- 1
src/url.cpp View File

43
         {
43
         {
44
             string url = Easy::unescape_html(match[1].str());
44
             string url = Easy::unescape_html(match[1].str());
45
             v.push_back(strip(expand(url)));
45
             v.push_back(strip(expand(url)));
46
-            buffer = match.suffix().str();
47
         }
46
         }
47
+        buffer = match.suffix().str();
48
     }
48
     }
49
 
49
 
50
     return v;
50
     return v;

Loading…
Cancel
Save