mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Apply suggestions from code review
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com> Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
This commit is contained in:
parent
9ca45e0827
commit
43a5547828
1 changed files with 0 additions and 2 deletions
|
@ -56,8 +56,6 @@
|
|||
|
||||
namespace
|
||||
{
|
||||
void convertRelativeUrlToAbsolute(QString &html, const QString &baseUrl);
|
||||
|
||||
void convertRelativeUrlToAbsolute(QString &html, const QString &baseUrl)
|
||||
{
|
||||
const QRegularExpression rx {uR"(((<a\s+[^>]*?href|<img\s+[^>]*?src)\s*=\s*["'])((https?|ftp):)?(\/\/[^\/]*)?(\/?[^\/"].*?)(["']))"_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue