@Test
public void testSupportsImageTagsWithNewLineCharacters() throws Exception {

	_addMediaQueries(_createMediaQuery(1989, "adaptiveURL"));
	StringBundler originalSB = new StringBundler(3);
	originalSB.append("<img data-fileentryid=\"1234\" ");
	originalSB.append(CharPool.NEW_LINE);
	originalSB.append("src=\"adaptable\"/>");
	StringBundler expectedSB = new StringBundler(5);
	expectedSB.append("<picture data-fileentryid=\"1234\">");
	expectedSB.append("<source media=\"(max-width:1989px)\" ");
	expectedSB.append("srcset=\"adaptiveURL\" />");
	expectedSB.append(originalSB.toString());
	expectedSB.append("</picture>");
	String pictureTag = _amImageHTMLTagFactoryImpl.create(
		originalSB.toString(), _fileEntry);
	Assert.assertEquals(expectedSB.toString(), pictureTag);
}