mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 13:24:05 +00:00
fix: some mdx dictionary's description can be be displayed if using html
This commit is contained in:
parent
7242a53302
commit
31c72dacdc
|
@ -411,7 +411,7 @@ bool MdictParser::readHeader( QDataStream & in )
|
|||
title_ = title;
|
||||
}
|
||||
QString description = headerAttributes.namedItem( "Description" ).toAttr().value();
|
||||
description_ = QTextDocumentFragment::fromHtml( description ).toPlainText();
|
||||
description_ = description; //QTextDocumentFragment::fromHtml( description ).toPlainText();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue