IDEA-121635 Injected fragment editor fails with \r\n in text