Skip to content

Commit

Permalink
feat: handle missing value in LayoutReferenceContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-m committed May 4, 2024
1 parent 7ed7d58 commit 0dcfd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script_steps/new_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn sanitize(step: &str) -> Option<String> {
LayoutReferenceContainer::from_xml(&mut reader, &e)
.unwrap()
.display()
.unwrap()
.unwrap_or("".to_string())
}
b"Options" => xml_pos.in_options = true,
b"Close" => xml_pos.in_close_option = true,
Expand Down

0 comments on commit 0dcfd39

Please sign in to comment.