Second argument of preg_replace doesn't need escaped characters. Causes an extra slash to be added to the HTML.