mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
DSL: Fix {(...)} case handling in insided cards
This commit is contained in:
parent
09a7d4db33
commit
f0b7b8e33c
|
@ -214,6 +214,7 @@ ArticleDom::ArticleDom( wstring const & str, string const & dictName,
|
|||
if( !linkTo.empty() )
|
||||
{
|
||||
list< wstring > allLinkEntries;
|
||||
processUnsortedParts( linkTo, true );
|
||||
expandOptionalParts( linkTo, &allLinkEntries );
|
||||
|
||||
for( list< wstring >::iterator entry = allLinkEntries.begin();
|
||||
|
@ -244,7 +245,6 @@ ArticleDom::ArticleDom( wstring const & str, string const & dictName,
|
|||
textNode = 0;
|
||||
|
||||
wstring linkText = Folding::trimWhitespace( *entry );
|
||||
processUnsortedParts( linkText, true );
|
||||
ArticleDom nodeDom( linkText, dictName, headword_ );
|
||||
|
||||
Node link( Node::Tag(), GD_NATIVE_TO_WS( L"@" ), wstring() );
|
||||
|
|
Loading…
Reference in a new issue