@Test
public void testSupportsImageTagsWithNewLineCharacters() throws Exception {

	Mockito.when(
		_amImageHTMLTagFactory.create(
			"<img data-fileentryid=\"1989\" \nsrc=\"adaptable\"/>",
			_fileEntry)
	).thenReturn(
		"<whatever></whatever>"
	);
	StringBundler originalSB = new StringBundler(3);
	originalSB.append("<img data-fileentryid=\"1989\" ");
	originalSB.append(CharPool.NEW_LINE);
	originalSB.append("src=\"adaptable\"/>");
	Assert.assertEquals(
		"<whatever></whatever>",
		_htmlContentTransformerImpl.transform(originalSB.toString()));
}