mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
Resolve DOCX migration conflict with current main
This commit is contained in:
1 parent
6d19bb44f3
commit
8097ede0ff
1 file changed
+1
@@ -11,6 +11,7 @@ fn numbering_level_index(value: Option<&str>) -> Option<usize> {
|
||||
None => Some(0),
|
||||
Some(value) => int(value).filter(|level| (0..=8).contains(level)).map(|level| level as usize),
|
||||
}
|
||||
}
|
||||
|
||||
fn style_is_default(style: &El) -> bool {
|
||||
style.attr("w:default").is_some_and(|value| !matches!(value.trim(), "0" | "false" | "off" | "False" | "FALSE"))
|
||||
|
||||
Reference in new issue
Block a user