mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Stardict: Fix handling of some HTML attributes in the upper case (issue #846)
This commit is contained in:
parent
b80267043f
commit
971e7176ca
|
@ -351,7 +351,7 @@ string StardictDictionary::handleResource( char type, char const * resource, siz
|
||||||
|
|
||||||
// Handle links to articles
|
// Handle links to articles
|
||||||
|
|
||||||
QRegExp linksReg( "<a(\\s*[^>]*)href\\s*=\\s*['\"](bword://)?([^'\"]+)['\"]" );
|
QRegExp linksReg( "<a(\\s*[^>]*)href\\s*=\\s*['\"](bword://)?([^'\"]+)['\"]", Qt::CaseInsensitive );
|
||||||
linksReg.setMinimal( true );
|
linksReg.setMinimal( true );
|
||||||
|
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
|
|
Loading…
Reference in a new issue