adjusts to avoid newlines to br conversion at inline edition