if (msgPart instanceof SoyMsgRawTextPart) {
String rawText = ((SoyMsgRawTextPart) msgPart).getRawText();
ilb.append(contentEscaper.escape(rawText));
} else {
String placeholderName = ((SoyMsgPlaceholderPart) msgPart).getPlaceholderName();
ilb.appendParts("<x id=\"", attributeEscaper.escape(placeholderName), "\"/>");
}
}
ilb.appendLineEnd("</source>");
// Target.