Skip to content

Commit

Permalink
avm2: Include CData nodes in XMLList.text output
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepycatcoding authored and Dinnerbone committed Nov 7, 2023
1 parent d5df3e2 commit cea636d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/avm2/globals/xml_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ pub fn text<'gc>(
nodes.extend(
children
.iter()
.filter(|node| matches!(&*node.kind(), E4XNodeKind::Text(_)))
.filter(|node| node.is_text())
.map(|node| E4XOrXml::E4X(*node)),
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
num_ticks = 1
known_failure = true # https://github.com/ruffle-rs/ruffle/issues/12351

0 comments on commit cea636d

Please sign in to comment.