Sanitize whitespace in notification popups
With this patch the text is first trimmed from whitespace at the beginning and end, then all \ns are converted to <br/> (as before), then the text replaces all remaining inner whitespace with single space and finally, if there are two or more new lines in succession, it turns it into just one. REVIEW: 122314 BUG: 343532
Please register or sign in to comment