diff --git a/Cargo.toml b/Cargo.toml index 5d3dac6..5aad0ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nanohtml2text" -version = "0.2.0" +version = "0.2.1" edition = "2018" readme = "README.md" license = "MIT" diff --git a/src/entity.rs b/src/entity.rs index b80c53c..d5efe07 100644 --- a/src/entity.rs +++ b/src/entity.rs @@ -1377,7 +1377,7 @@ pub static ENTITIES: &'static [(&'static str, char)] = &[ ("natur", '\u{00266E}'), ("natural", '\u{00266E}'), ("naturals", '\u{002115}'), - ("nbsp", ' '), + ("nbsp", '\u{0000A0}'), ("ncap", '\u{002A43}'), ("ncaron", '\u{000148}'), ("ncedil", '\u{000146}'), diff --git a/src/lib.rs b/src/lib.rs index 81cc031..f44222c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -251,7 +251,7 @@ mod tests { h6: "