diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-10-05 17:12:20 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-10-05 17:12:20 +0200 |
commit | c12c31e1b2d55fa407217c0e14c51c8693f919ae (patch) | |
tree | 1a578aac5ea3efb413d12cc190db805a20a4520d | |
parent | e50fb638f73528e96ceb88f7c3feee613c397344 (diff) | |
download | markdown-rs-c12c31e1b2d55fa407217c0e14c51c8693f919ae.tar.gz markdown-rs-c12c31e1b2d55fa407217c0e14c51c8693f919ae.tar.bz2 markdown-rs-c12c31e1b2d55fa407217c0e14c51c8693f919ae.zip |
Add support for form feeds as html whitespace
Diffstat (limited to '')
-rw-r--r-- | tests/test_utils/to_swc.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_utils/to_swc.rs b/tests/test_utils/to_swc.rs index 6ed48b6..6c7312b 100644 --- a/tests/test_utils/to_swc.rs +++ b/tests/test_utils/to_swc.rs @@ -530,8 +530,7 @@ fn inter_element_whitespace(value: &str) -> bool { while index < bytes.len() { match bytes[index] { - // To do: form feed. - b'\t' | b'\r' | b'\n' | b' ' => {} + b'\t' | 0x0C | b'\r' | b'\n' | b' ' => {} _ => return false, } index += 1; |