Stardict: Handle urls in .css like in .mdx

This commit is contained in:
Abs62 2016-04-14 18:51:25 +03:00
parent 5cafac686e
commit a6d7e204eb

View file

@ -1558,7 +1558,7 @@ void StardictResourceRequest::run()
break;
QString url = links.cap( 2 );
if( url.indexOf( "/" ) >= 0 )
if( url.indexOf( ":/" ) >= 0 || url.indexOf( "data:" ) >= 0)
{
// External link
pos += links.cap().size();