fix: some mdx dictionary's description can be be displayed if using html

This commit is contained in:
Xiao YiFang 2023-03-15 21:34:11 +08:00
parent 7242a53302
commit 31c72dacdc

View file

@ -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;
}