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 48af833 commit 5c6bfe2Copy full SHA for 5c6bfe2
src/Html2OpenXml/Expressions/Table/TableCellExpression.cs
@@ -61,10 +61,9 @@ protected override void ComposeStyles(ParsingContext context)
61
base.ComposeStyles(context);
62
63
Unit width = styleAttributes!.GetUnit("width");
64
-
65
if (!width.IsValid)
66
{
67
- var widthValue = this.node.GetAttribute("width");
+ var widthValue = cellNode.GetAttribute("width");
68
if (!string.IsNullOrEmpty(widthValue))
69
70
width = Unit.Parse(widthValue);
0 commit comments