Injecting images to text with tags to build display box
I have a JSON which I get with GET request. The JSON contains two keys, text and images. images has list of objects with name of image and then the image.
In text "¤imagename|img¤" parts are to be replaced with "imagename" image found from images. Below is an example in associative array format
aa = Associative Array();
aa["text"] = "First line with no image
¤tile|img¤
text and ¤windmap|img¤ im
...