add closing bracket to img src tag