Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [ x"$SPEC" = "xtrue" ]; then
python3 spec_tests.py --program=../../../target/debug/comrak
python3 roundtrip_tests.py --program=../../../target/debug/comrak
python3 spec_tests.py --no-normalize --spec regression.txt --program=../../../target/debug/comrak
python3 entity_tests.py --program=../../../target/debug/comrak
else
cargo test --verbose
fi
2 changes: 1 addition & 1 deletion src/entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::cmp::min;
use std::str;

pub const ENTITY_MIN_LENGTH: usize = 2;
pub const ENTITY_MAX_LENGTH: usize = 31;
pub const ENTITY_MAX_LENGTH: usize = 32;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!


fn isxdigit(ch: &u8) -> bool {
(*ch >= b'0' && *ch <= b'9') || (*ch >= b'a' && *ch <= b'f') || (*ch >= b'A' && *ch <= b'F')
Expand Down