Update formatResult with only non Html replacement

Only non HTML replacement. That means replacement between <p>Your text</p> is ok, but <a href="your text" /> will not be replaced.