Skip to content

Commit

Permalink
fix: fix :contains selector use chinese character cause an error, fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
fefit committed Jul 31, 2022
1 parent 39ed4c5 commit 1406ea0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

0.2.1 版本后各个接口方法已经基本趋于稳定,后面将不会做大的调整。

## [0.5.3] - 2022-07-31

### 修复

- 修复 `:contains` 选择器包含中文字符、因为在正则匹配中没有使用chars长度引起 panic 的问题。

## [0.5.2] - 2022-04-26

### 增加
Expand All @@ -12,6 +18,7 @@
### 修改

- 修改 `load(html: &str)` -> `load<'html>(html: impl Into<Cow<'html, str>>)`,改进返回的 `Elements` 只能接受 `'static` 严格生命周期的问题。

## [0.5.0] - 2022-02-11

### 变更
Expand Down

0 comments on commit 1406ea0

Please sign in to comment.