-
Remove HTML elements from json text
I have a json what sends me information to highlight texts between < em > and < / em > html elements. I should hide the marks and highlight the text between the marks.
I found this code snippet over here: https://forums.creativecow.net/thread/227/36482#38105
But I can’t figure it out how to modify it to work with my case.
Can anybody help me with this?
It seams the isue is with the / sign from the < / em >