Updates code to insert space after link