aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/decode_character_reference.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/decode_character_reference.rs')
-rw-r--r--src/util/decode_character_reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/decode_character_reference.rs b/src/util/decode_character_reference.rs
index 9be531b..874df4d 100644
--- a/src/util/decode_character_reference.rs
+++ b/src/util/decode_character_reference.rs
@@ -96,7 +96,7 @@ pub fn decode_numeric(value: &str, radix: u32) -> char {
// Out of range
code > 0x0010_ffff
{
- '�'
+ char::REPLACEMENT_CHARACTER
} else {
char::from_u32(code).expect("expected valid `code`")
}