fix update text when user starts line with whitespace #changelog [Fix #51512037]