Question: Write a function that converts encoded HTML into actual HTML. The function will take a string of text, and then a hashmap, mapping html tags
Write a function that converts encoded HTML into actual HTML. The function will take a string of text, and then a hashmap, mapping html tags to a list of tuples, where each tuple represents the first and last index of the string that the tags need to encompass.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
