diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-04-01 13:52:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-01 13:52:57 +0200 |
commit | 4943f3d29c513f6d1e283cfffc30b78d9728902b (patch) | |
tree | 1e4c8c5e2246ce9a8908583e4486c8d8ac2b45db /src/NetUtils.cpp | |
parent | 30c93d5de455c494c7be3a37571cfcd9688560fe (diff) |
4chan: fix link in quote
Diffstat (limited to 'src/NetUtils.cpp')
-rw-r--r-- | src/NetUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/NetUtils.cpp b/src/NetUtils.cpp index 2dab2b8..70f2f32 100644 --- a/src/NetUtils.cpp +++ b/src/NetUtils.cpp @@ -248,6 +248,8 @@ namespace QuickMedia { --url_length; else if(prev_char == ')' && parentheses_depth != 0) --url_length; + else if(prev_char < 32) + --url_length; if(url_length > 0) ranges.push_back({url_start, url_length}); } |