Skip to content

Commit

Permalink
Word Export: Fix duplicate & missing before and after (#148)
Browse files Browse the repository at this point in the history
The wrong node was being passed to AddLexReferences().
Note: This change does not impact LcmXhtmlGenerator. It’s
implementation does not use the node.

Change-Id: I5ac0b7542ed9aa4f08e92b84646ab88c7d5d5d52
  • Loading branch information
mark-sil authored Aug 30, 2024
1 parent b2c75ea commit 9972c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/xWorks/ConfiguredLcmGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ private static void GenerateContentForLexEntryRefsByType(ConfigurableDictionaryN
lexEntryType.Owner, settings, false)
: null;
var className = generateLexType ? settings.StylesGenerator.AddStyles(typeNode).Trim('.') : null;
var refsByType = settings.ContentGenerator.AddLexReferences(config, generateLexType,
var refsByType = settings.ContentGenerator.AddLexReferences(typeNode, generateLexType,
lexTypeContent, className, combinedContent, IsTypeBeforeForm(config));
bldr.Append(refsByType);
}
Expand Down

0 comments on commit 9972c2a

Please sign in to comment.