Skip to content

Commit 5c6bfe2

Browse files
committed
Remove disambiguation on code
1 parent 48af833 commit 5c6bfe2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Html2OpenXml/Expressions/Table/TableCellExpression.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ protected override void ComposeStyles(ParsingContext context)
6161
base.ComposeStyles(context);
6262

6363
Unit width = styleAttributes!.GetUnit("width");
64-
6564
if (!width.IsValid)
6665
{
67-
var widthValue = this.node.GetAttribute("width");
66+
var widthValue = cellNode.GetAttribute("width");
6867
if (!string.IsNullOrEmpty(widthValue))
6968
{
7069
width = Unit.Parse(widthValue);

0 commit comments

Comments
 (0)