Skip to content

Commit

Permalink
Removed uncessary attribute removal
Browse files Browse the repository at this point in the history
  • Loading branch information
weissm committed Dec 30, 2024
1 parent 4d19109 commit e679701
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions OneMore/Commands/File/Markdown/MarkdownConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ public void RewriteHeadings()
}
void replaceAtributes(XElement quickstyle, double spaceBefore, double spaceAfter)
{
quickstyle.Attributes().Where(a => a.Name == "spaceBefore").Remove();
quickstyle.SetAttributeValue("spaceBefore", spaceBefore.ToString("####0.00", CultureInfo.InvariantCulture));
quickstyle.Attributes().Where(a => a.Name == "spaceAfter").Remove();
quickstyle.SetAttributeValue("spaceAfter", spaceAfter.ToString("####0.00", CultureInfo.InvariantCulture));
}

Expand Down

0 comments on commit e679701

Please sign in to comment.