don't replace tag on literal nodes if it's already there