mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
Skip tag "<nu />" in xdxf code
This commit is contained in:
parent
3de1e09663
commit
21c9723567
|
@ -61,6 +61,11 @@ string convert( string const & in, DICT_TYPE type, map < string, string > const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Strip "<nu />" tags - QDomDocument don't handle it correctly
|
||||||
|
unsigned n;
|
||||||
|
while( ( n = inConverted.find( "<nu />" ) ) != string::npos )
|
||||||
|
inConverted.erase( n, 6 );
|
||||||
|
|
||||||
// We build a dom representation of the given xml, then do some transforms
|
// We build a dom representation of the given xml, then do some transforms
|
||||||
QDomDocument dd;
|
QDomDocument dd;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue