Fixed a bug which caused image information to be wrongly set as text within <icon> tags instead as src parameter of the <icon> element.