diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-01 19:58:33 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-03 23:00:05 +0200 |
commit | 822cc78d438e8df6a068d811d3cc825b883aba36 (patch) | |
tree | 060564fb15d42a911b7e5a6221e6dbe7a4ee5929 /src/machine.rs | |
parent | fd43f18f20afcead7f3976ac893a4b5c4155b41f (diff) |
fix: too small char ref error spans
Diffstat (limited to 'src/machine.rs')
-rw-r--r-- | src/machine.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine.rs b/src/machine.rs index 149b64d..84fb525 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -1659,6 +1659,7 @@ where } }, State::CharacterReference => { + slf.some_offset = slf.reader.position() - "&".len(); slf.temporary_buffer.clear(); slf.temporary_buffer.push('&'); match slf.read_char()? { |