Remove new lines from icons list.
(cherry picked from commit 8da83d5)