I need to do the same thing, however I need to do it in mapping the response from a REST api array.
I have a list item:
I need to replace "contact_info" in each item with html from the response:
"info" in the response array is html. In the old builder, before 9/22/2014, it worked fine. But now it doesn't.
Just mapping it like this causes the < and > to be changed to < and >. Looking at the source of the page, when testing in a browser, I see that the text from the response is between <a> and </a> I have tried numerous ways, with JavaScript to modify the Text of the list item in the mapping, but can't figure out what I need.
The suggestion above works if you are changing one specific list item since you know the name of it. However, in the loop in the Success mapping I don't know what the name of each item would be. Nor am I sure that code would change just the text of the "a" tag.
I also tried dropping an HTML component on the list item in the Builder UI, but that wipes out the button/icon to the right on the list item, and I need that button.
I also have other instances where I would like to put HTML code into a label. I know I could use an HTML component instead, but they aren't as flexible as labels.
One possibility would be if, in the Services creation, where the Response fields are, one of the items in the drop down of the type of was HTML:
I realize that would require modification of the Builder code, and even if that suggestion is accepted by the developers, I can't wait until it would be implemented. I need to publish this app as soon as I can.
Any help would be appreciated.
Fred