From 135ecfb21dc517766e83c0138f0d850effe9da1d Mon Sep 17 00:00:00 2001 From: fefit Date: Wed, 23 Nov 2022 19:14:26 +0800 Subject: [PATCH] fix: upgrade rphtml, fix > appears in a quoted attribute value will not parsed as expected. --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0326a6c..034ccd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ 0.2.1 版本后各个接口方法已经基本趋于稳定,后面将不会做大的调整。 +## [0.5.8] - 2022-11-23 + +### 修复 + +- 升级 `rphtml`,修复标签带引号属性值中包含结束标签字符 `>` 会被错误解析的问题。 + ## [0.5.7] - 2022-11-10 ### 变更 diff --git a/Cargo.toml b/Cargo.toml index 484335b..fe7e6e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "visdom" -version = "0.5.7" +version = "0.5.8" edition = "2018" description = "A html document syntax and operation library, use APIs similar to jquery, easy to use for web scraping and confused html." keywords = ["html", "scrape", "jquery", "query", "selector"] @@ -13,7 +13,7 @@ license = "MIT" exclude = [".vscode/*.*", ".editorconfig", ".travis.yml", "src/main.rs", "performance/*.*"] [dependencies] -rphtml = "0.5.6" +rphtml = "0.5.8" lazy_static = "1.4.0" thiserror = "1.0.24" regex = "1.7.0"