AndroidIDEOfficial / AndroidIDE

AndroidIDE is an IDE for Android to develop full featured Android apps.
https://m.androidide.com
GNU General Public License v3.0
2.08k stars 244 forks source link

Illegal character inserted into XML by UI Designer in AndroidIDE #1823

Open JohnOlowe opened 1 month ago

JohnOlowe commented 1 month ago

Issue Checklist

Additional terms

Issue explanation

When I type in &gt; and &lt; in android:text of a widget in a XML file and preview it in AndroidIDE, even without editing it, it inserts the '>' and '<' characters respectively in the XML file.

https://github.com/AndroidIDEOfficial/AndroidIDE/assets/121398818/d201059b-b7e2-44e1-9446-5abeb55e2b52

Expected behavior

UI Designer should insert &gt; and &lt; instead of the original characters.

Version name

Version : v2.7.1-beta (27101) CI Build : true Branch : dev Commit : 3b43ef4b3 Variant : armeabi-v7a (release) Build type : OFFICIAL F-Droid Build : false F-Droid Version : null F-Droid Version code : -1 SDK Version : 31 Supported ABIs : [armeabi-v7a, armeabi] Manufacturer : ITEL Device : itelA662L

Download source

GitHub

Relevant log output

There is no log available to be shown.