mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Stardict: Handle urls in .css like in .mdx
This commit is contained in:
parent
5cafac686e
commit
a6d7e204eb
|
@ -1558,7 +1558,7 @@ void StardictResourceRequest::run()
|
||||||
break;
|
break;
|
||||||
QString url = links.cap( 2 );
|
QString url = links.cap( 2 );
|
||||||
|
|
||||||
if( url.indexOf( "/" ) >= 0 )
|
if( url.indexOf( ":/" ) >= 0 || url.indexOf( "data:" ) >= 0)
|
||||||
{
|
{
|
||||||
// External link
|
// External link
|
||||||
pos += links.cap().size();
|
pos += links.cap().size();
|
||||||
|
|
Loading…
Reference in a new issue