mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
opt: fullindex need not to care about stylesheet
This commit is contained in:
parent
837dcfbf63
commit
058ba392fd
5
mdx.cc
5
mdx.cc
|
@ -924,10 +924,11 @@ void MdxDictionary::loadArticle( uint32_t offset, string & articleText, bool noF
|
|||
decompressed.constData() + recordInfo.recordOffset,
|
||||
recordInfo.recordSize );
|
||||
|
||||
article = MdictParser::substituteStylesheet( article, styleSheets );
|
||||
|
||||
if( !noFilter )
|
||||
{
|
||||
article = MdictParser::substituteStylesheet( article, styleSheets );
|
||||
article = filterResource( articleId, article );
|
||||
}
|
||||
|
||||
articleText = article.toStdString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue