@Test
public void testExportContentWithReferenceDoesNotEscape() throws Exception {

	StringBundler sb = new StringBundler(5);
	sb.append("&<img data-fileentryid=\"");
	sb.append(_FILE_ENTRY_ID_1);
	sb.append("\" src=\"");
	sb.append(RandomTestUtil.randomString());
	sb.append("\" />&");
	Assert.assertEquals(
		_amImageHTMLExportImportContentProcessor.
			replaceExportContentReferences(
				_portletDataContext, _stagedModel, sb.toString(), false,
				false),
		_amImageHTMLExportImportContentProcessor.
			replaceExportContentReferences(
				_portletDataContext, _stagedModel, sb.toString(), false,
				true));
}