aboutsummaryrefslogtreecommitdiff
path: root/src/machine.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine.rs')
-rw-r--r--src/machine.rs1
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()? {