You need to strip the text (L.util.strip).