malformed styles

if styles are malformed html, then recreation fails with OutOfBounds,
end tag if error occurs to prevent crash
This commit is contained in:
Connor Tumbleson
2014-02-09 20:45:16 -06:00
parent f980cfad97
commit d90bea10ce
3 changed files with 22 additions and 7 deletions

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="test_formatting1"><a href="http://www.foo.com" style="text-decoration:none;">http://www.foo.com</a></string>
<string name="test_formatting2"><a href="http://www.foo.com" style="text-decoration:none">http://www.foo.com</a></string>
</resources>