Skip to content

Commit

Permalink
Merge pull request #461 from JPToroDev/020425a
Browse files Browse the repository at this point in the history
Clean up `ModifiedHTML` initializer
  • Loading branch information
JPToroDev authored Feb 6, 2025
2 parents 071750e + 6558748 commit 772dd02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/Ignite/Modifiers/ModifiedHTML.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ struct ModifiedHTML: HTML, InlineHTML, BlockHTML, RootHTML, NavigationItem {
AttributeStore.default.merge(content.attributes, intoHTML: id)
}

let modifiedContent: any HTML = modifier.body(content: self)
AttributeStore.default.merge(modifiedContent.attributes, intoHTML: id)
_ = modifier.body(content: self)

if let block = self.content as? (any BlockHTML) {
self.columnWidth = block.columnWidth
Expand Down

0 comments on commit 772dd02

Please sign in to comment.