diff --git a/CHANGELOG.md b/CHANGELOG.md index a983358..bcbe603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,15 @@ -## v0.2.0 (2022-01-19) +## v0.3.0 (2022) + +### Refactor + +- Now `parse()` returns a `Result, String>` instead of `Vec` for better error handling. ### Fix -- Fail to parse the attributes if the the last key of it doesn't have the value, like `` +- In previous version, `parse` sometimes may return an unexpected result but without any error message. And now any currently known error will be delivered. +- Tag string in `` would be parsed as a `
` element in the ` ``` +### Fix + +- Fail to parse the attributes if the the last key of it doesn't have the value, like `` + ## v0.1.0 (2022-01-01) diff --git a/Cargo.lock b/Cargo.lock index 2119010..502fa9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "html_editor" -version = "0.2.0" +version = "0.3.0" diff --git a/Cargo.toml b/Cargo.toml index 23d1f3c..6507d8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "html_editor" -version = "0.2.0" +version = "0.3.0" edition = "2021" authors = ["Lomirus"] description = "Pure, simple and elegant HTML parser and editor."