From 31c72dacdc5943ccbd4078578f4663d332c8dc52 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Wed, 15 Mar 2023 21:34:11 +0800 Subject: [PATCH] fix: some mdx dictionary's description can be be displayed if using html --- mdictparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdictparser.cc b/mdictparser.cc index 952d3735..36832f8d 100644 --- a/mdictparser.cc +++ b/mdictparser.cc @@ -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; }