From f846305503e4c01300b2474c18d7e9465c67ac93 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sat, 23 Oct 2021 17:34:01 -0400 Subject: [PATCH] Add changelog --- CHANGELOG | 10 ++++++++++ README.md | 3 ++- composer.json | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..f90d83f --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,10 @@ +Version 1.1.0 (2021-10-23) +========================== + +- Added serializer functionality +- Various bug fixes + +Version 1.0.0 (2021-10-11) +========================== + +- Initial release diff --git a/README.md b/README.md index a39be0e..b91e9cf 100644 --- a/README.md +++ b/README.md @@ -142,8 +142,9 @@ Similarly, the `MensBeam\HTML\Parser::serializeInner` method can be used to conv use MensBeam\HTML\Parser; $document = Parser::parse("Ook

Eek"); + $body = $document->getElementsByTagName("body")[0]; echo Parser::serialize($document); // prints "Ook

Eek

- echo Parser::serializeInner($document->getElementsByTagName("body")[0]); // prints "Ook

Eek

+ echo Parser::serializeInner($body); // prints "Ook

Eek

``` ## Configuration diff --git a/composer.json b/composer.json index 60d9ff4..9a52ccf 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mensbeam/html-parser", - "description": "Parses modern HTML text into a PHP DOMDocument", + "description": "Parser and serializer for modern HTML documents", "keywords": ["whatwg", "html", "html5", "parser", "parsing", "dom"], "type": "library", "require": {