aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/construct/character_reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/character_reference.rs b/src/construct/character_reference.rs
index ba2ad61..af9c02e 100644
--- a/src/construct/character_reference.rs
+++ b/src/construct/character_reference.rs
@@ -189,7 +189,7 @@ fn value(tokenizer: &mut Tokenizer, code: Code, info: Info) -> StateFnResult {
if let Kind::Named = info.kind {
if !CHARACTER_REFERENCE_NAMES.contains(&value.as_str()) {
- return (State::Nok, Some(vec![code]));
+ return (State::Nok, None);
}
}