Avoid extra whitespace when clicking on suggestions

We get the text from $(".suggestion-translation").text() but jQuery will
not strip the line breaks and indentation, so avoid them.