Releases: hughbe/html-generator
Releases · hughbe/html-generator
v1.2
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
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
This is the initial version of HtmlGenerator, with support for
- Creating all HTML tags (except for meta, script, style and svg at this time)
- Creating and adding HTML attributes (including class and id)
- Creating HTML document trees in code
- Serializing HTML document trees into text