From 70c25f476c9917fc1e47fd685c8486fbaeea2c7f Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 3 Sep 2023 13:04:37 +0200 Subject: docs: the span logic no longer assumes UTF-8 --- CHANGELOG.md | 2 ++ README.md | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e67319..7b0b5e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,8 @@ * Fixed `BufReadReader` skipping the whole line if it contained invalid UTF-8. +* Fixed span logic assuming UTF-8 (the logic is now character encoding independent). + * Fixed attribute value spans being wrong for values containing character references. * Fixed most error spans mistakenly being empty. diff --git a/README.md b/README.md index 30da834..2683a6d 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,6 @@ assert_eq!(new_html, "hello world"); * This crate does not yet implement [character encoding detection]. -* The span logic assumes UTF-8 encoding. - * This crate does not yet implement spans for character tokens. ## Compliance & testing -- cgit v1.2.3