String (@Nls @NotNull String text) { String escaped = StringUtil.escapeXmlEntities(text); //noinspection HardCodedStringLiteral escaped = StringUtil.replace(escaped, "\n", UIUtil.BR); return escaped; }