Closed sschuberth closed 7 years ago
Both sentence are ok. What makes the build fails is the <
instead of <
, because that breaks the xml parsing. The second can be represented in the two ways. Since the first one need to be escaped, I opted by escape the second one too. I prefer to keep it as it is, and disable the lint warning with an inline annotation.
I prefer to keep it as it is, and disable the lint warning with an inline annotation.
Done.
Thanks
Correct that it does not make the Lint warning go away, I've clarified the commit message in that regard. But I believe it's not correct that the original code was correctly escaped. As the linked StackOverflow answer shows, only the opening angle bracket should be escaped.