Illegal character inserted into XML by UI Designer in AndroidIDE
Issue Checklist
- [X] I confirm that this issue is not a duplicate and hasn't been reported before.
- [X] I agree to follow the project's code of conduct.
- [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.
Additional terms
- [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
- [x] I agree to provide all requested details promptly for a comprehensive bug report.
Issue explanation
When I type in > and < 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 > and < 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.
When is this issue going to be resolved?