Skip to content

Commit df6419b

Browse files
2ip
1 parent 7e8df6d commit df6419b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/htmldom/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ fn init_node_proxy(realm: &QuickJsRealmAdapter) -> Result<QuickJsValueAdapter, J
652652
return Err(JsError::new_str("innerHTML should be a string"));
653653
}
654654

655-
let html = val.to_str()?;
655+
let html = val.to_string()?;
656656

657657
with_node(id, |node| {
658658
while let Some(child) = node.first_child() {

0 commit comments

Comments
 (0)