Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode sequence replaced by unicode character #42

Open
fmatosqg opened this issue Nov 25, 2021 · 1 comment
Open

Unicode sequence replaced by unicode character #42

fmatosqg opened this issue Nov 25, 2021 · 1 comment

Comments

@fmatosqg
Copy link

fmatosqg commented Nov 25, 2021

Overview

In files that are modified by this plugin, some lines are undesirably changed as well.

In my project, the following string
<string name="more_app_version" tools:ignore="PluralsCandidate">&#169; %1$d xxxxxx v%2$s%3$s</string>

was replaced (not removed) by the following string

<string name="more_app_version" tools:ignore="PluralsCandidate">© %1$d xxxxxx v%2$s%3$s</string>

Description

To reproduce:

Create a strings.xml file that

  • contains at least 1 unused resource and
  • at least 1 string resource that is still used and contains a unicode sequence.

Verify behavior

  • expected: remove unused resource
  • actual behavior: unused resource is removed AND used resource is modified
@king-ma1993
Copy link

the android studio provider remove unused res button,why didn't use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants