public void testMultiLine4() throws ParserException
{
createParser("<meta name=\"foo\" content=\"foo\nbar>\">");
parseAndAssertNodeCount(1);
assertType("should be Tag", Tag.class, node[0]);
Tag tag = (Tag) node[0];
String html = tag.toHtml();
assertStringEquals(
"html",
"<META CONTENT=\"foo\r\nbar>\" NAME=\"foo\">",
html);
String attribute1 = tag.getAttribute("NAME");
assertStringEquals("attribute 1", "foo", attribute1);
String attribute2 = tag.getAttribute("CONTENT");
assertStringEquals("attribute 2", "foo\r\nbar>", attribute2);
}