summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-03 13:04:37 +0200
committerMartin Fischer <martin@push-f.com>2023-09-03 23:00:05 +0200
commit70c25f476c9917fc1e47fd685c8486fbaeea2c7f (patch)
tree4ec146f0c3a1b1bde29dc2d9dff626ab2fa33338
parente993f19c2b8ef00b32f17f9ed32306f3ceb21bc3 (diff)
docs: the span logic no longer assumes UTF-8
-rw-r--r--CHANGELOG.md2
-rw-r--r--README.md2
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, "<title>hello world</title>");
* 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