fixed jquery code, it didn't change all "<" that occured
deleted two rows that was changing the figure and figcaption tags outside the code tag