mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
Stardict: Tune links handling in CSS
This commit is contained in:
parent
1f97957621
commit
9885390cd3
|
@ -1548,7 +1548,7 @@ void StardictResourceRequest::run()
|
|||
|
||||
// Correct some url's
|
||||
|
||||
QRegExp links( "url\\(\\s*(['\"])([^'\"]*)(['\"])\\s*\\)");
|
||||
QRegExp links( "url\\(\\s*(['\"]?)([^'\"]*)(['\"]?)\\s*\\)", QRegExp::RegExp );
|
||||
QString id = QString::fromUtf8( dict.getId().c_str() );
|
||||
int pos = 0;
|
||||
for( ; ; )
|
||||
|
|
Loading…
Reference in a new issue