From 9005b60935f9b6232651bd330fb20527ea676f2a Mon Sep 17 00:00:00 2001 From: Kamil Jarosz Date: Thu, 19 Dec 2024 00:32:43 +0100 Subject: [PATCH] avm2: Do not disable HTML when setting TextField.text Flash Player keeps the HTML bit even when setting the text property. --- core/src/avm2/globals/flash/text/text_field.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/avm2/globals/flash/text/text_field.rs b/core/src/avm2/globals/flash/text/text_field.rs index e21a558cdcc4..88c1d968de48 100644 --- a/core/src/avm2/globals/flash/text/text_field.rs +++ b/core/src/avm2/globals/flash/text/text_field.rs @@ -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); }