This commit is contained in:
Bennet Bleßmann
2024-10-04 19:25:34 +02:00
parent 8f41c1aa7e
commit e9f03c89a6

View File

@@ -7758,7 +7758,7 @@ impl Machine {
.value_to_str_like(self.machine_st.registers[1])
{
let document = scraper::Html::parse_document(&string.as_str());
let result = self.html_node_to_term(document.tree.root());
let result = self.html_node_to_term(document.tree.root().first_child().unwrap());
unify!(self.machine_st, self.machine_st.registers[2], result);
} else {