mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
DSL: properly handle unsorted parts in subcard's headwords
This commit is contained in:
parent
868ba3543f
commit
7734973a84
1
dsl.cc
1
dsl.cc
|
@ -966,6 +966,7 @@ string DslDictionary::nodeToHtml( ArticleDom::Node const & node )
|
||||||
url.setScheme( "gdlookup" );
|
url.setScheme( "gdlookup" );
|
||||||
url.setHost( "localhost" );
|
url.setHost( "localhost" );
|
||||||
wstring nodeStr = node.renderAsText();
|
wstring nodeStr = node.renderAsText();
|
||||||
|
processUnsortedParts( nodeStr, true );
|
||||||
ArticleDom nodeDom( nodeStr );
|
ArticleDom nodeDom( nodeStr );
|
||||||
|
|
||||||
list< wstring > allEntryWords;
|
list< wstring > allEntryWords;
|
||||||
|
|
Loading…
Reference in a new issue