We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1fe98 commit 1228eb4Copy full SHA for 1228eb4
src/Html2OpenXml/Expressions/TextExpression.cs
@@ -82,6 +82,7 @@ public override IEnumerable<OpenXmlElement> Interpret (ParsingContext context)
82
if (text.Length == 0 && prevIsPhrasing && nextIsPhrasing
83
&& (endsWithSpace || startsWithSpace)
84
&& !(node.PreviousSibling!.TextContent.Length == 0
85
+ || node.NextSibling!.TextContent.Length == 0
86
|| node.PreviousSibling!.TextContent[node.PreviousSibling!.TextContent.Length - 1].IsWhiteSpaceCharacter()
87
|| node.NextSibling!.TextContent[0].IsWhiteSpaceCharacter()
88
))
0 commit comments