Oga v2.9 Release Notes

Release Date: 2017-02-10 // about 7 years ago
  • Closing tags for HTML void elements

    Certain HTML elements such as <img> and <link> (called "void elements" in Oga) are now closed using a > tag instead of />. In other words, instead of outputting <img src="..." /> Oga now outputs <img src="...">.

    Doctypes are now Nodes

    📜 Each Doctype now inherits from Oga::XML::Node. This makes it possible to parse documents where a doctype is located in a child node. However, in these cases Oga will not populate Oga::XML::Document#doctype as this can not be done in an efficient way.