Skip to content

Releases: hughbe/html-generator

v1.2

17 Oct 10:45
Compare
Choose a tag to compare

A breaking change update to HtmlGenerator

  • Strongly typed attributes (this means that in the future we can add methods and constructors to attributes specifically)
  • Strongly typed elements - you can set attributes on elements more easily, and provides the same benefits as strongly typed attriubtes
  • Changed Content to InnerText to be more consistent with the HTML Specificiation
  • Create specific elements in a more customized way - directly create hyperlinks, images, headers, paragraphs, css and javascript references as well as meta elements more easily

v1.1

10 Oct 14:13
Compare
Choose a tag to compare

A breaking change update to HtmlGenerator, with the following changes

  • Strongly, not weakly, typed support for attributes (e.g. class, id, style), including custom attributes
  • Support for attributes with no content
  • Support for elements with no content
  • Support for serializing elements with indentation and more pretty formatting
  • Added argument checking (null, invalid etc.)

v1.0

26 Sep 08:39
Compare
Choose a tag to compare

This is the initial version of HtmlGenerator, with support for

  1. Creating all HTML tags (except for meta, script, style and svg at this time)
  2. Creating and adding HTML attributes (including class and id)
  3. Creating HTML document trees in code
  4. Serializing HTML document trees into text