Skip to content

0.1.0-alpha022

Pre-release
Pre-release
Compare
Choose a tag to compare
@dustinmoris dustinmoris released this 01 Jul 23:50
· 1119 commits to master since this release

A few modifications to the former HtmlEngine so that it can be used for correct XML rendering as well:

  • Renamed the Giraffe.HtmlEngine module to Giraffe.XmlViewEngine
  • Renamed HtmlAttribute to XmlAttribute, HtmlElement to XmlElement and HtmlNode to XmlNode
  • Renamed and make the function nodeToHtmlString private
  • Added comment function to the Giraffe.XmlViewEngine module for creating XML comments
  • Added renderXmlString and renderHtmlString functions to Giraffe.XmlViewEngine module for rendering XML and HTML nodes.