tagmanager.findByTitle() not working for special characters like "&"
Hi,
I am writing a piece of code that uses the title to fetch the corresponding Tag. I am facing issues for tags with & sign.
Example:
String tagTtitle = "Celebrations & Holidays";
FindResults result = tagManager.findByTitle(tagTtitle)
Tag[] tagArr = result.tags;
for(Tag tag : tagArr){
tagList.add(tag);
}
This is a title under Stock Photography, but returns an empty result. Works fine for tags with regular titles.
Thanks