Skip to content

Commit

Permalink
avm2: Do not disable HTML when setting TextField.text
Browse files Browse the repository at this point in the history
Flash Player keeps the HTML bit even when setting the text property.
  • Loading branch information
kjarosh committed Dec 19, 2024
1 parent 492ba87 commit 9005b60
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/avm2/globals/flash/text/text_field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ pub fn set_text<'gc>(
{
let text = args.get_string_non_null(activation, 0, "text")?;

this.set_is_html(activation.context, false);
this.set_text(&text, activation.context);
}

Expand Down

0 comments on commit 9005b60

Please sign in to comment.