mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-02 19:14: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;
|
title_ = title;
|
||||||
}
|
}
|
||||||
QString description = headerAttributes.namedItem( "Description" ).toAttr().value();
|
QString description = headerAttributes.namedItem( "Description" ).toAttr().value();
|
||||||
description_ = QTextDocumentFragment::fromHtml( description ).toPlainText();
|
description_ = description; //QTextDocumentFragment::fromHtml( description ).toPlainText();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue