move punctuation inside .link groups