Pad tags string with spaces on both sides