From b679cc43ee3a06c65c9326adf35cfc27e10abd41 Mon Sep 17 00:00:00 2001 From: Stephen Checkoway Date: Sun, 2 Sep 2018 17:34:56 -0400 Subject: [PATCH] Mention namespaces [ci skip] --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f72e5834..dffd29ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Minimum supported version of Nokogiri changed to 1.8.0. - `Nokogiri::HTML5::DocumentFragment#errors` returns errors for the document fragment itself, not the underlying document. +- The five XML namespaces described in the HTML spec, MathML, SVG, XLink, XML, + and XMLNS, are now supported. Thus `` will create an `svg` element in + the SVG namespace and `` will create a `math` element in the MathML + namespace. An attribute `xml:lang=en`, for example, will create a `lang` + attribute in the XML namespace, **but only in foreign elements (i.e., those + in the SVG or MathML namespaces)**. On HTML elements, this creates an + attribute with the name `xml:lang`. This changes the `#xpath` and related + APIs. ### Deprecated - `:max_parse_errors`; use `:max_errors`