Skip to content

Brand new init methods

Choose a tag to compare

@tib tib released this 11 Feb 14:02
· 32 commits to main since this release

Tag class changes:

  • New init(_ children: [Tag] = []) init method
  • New convenience init(@TagBuilder _ builder: () -> [Tag]) method
  • New convenience init(_ contents: String?) method
  • New open class func createNode() -> Node function
  • New setContents function
  • New setAttributes function
  • New deleteAttribute function
    New tag base clases:
  • EmptyTag
  • GroupTag
    New test cases
    Comment tag rendering with spaces