Make src tag replacement optional