testText("
", "abc\ndef", "abc
def", "Newlines convert to
inelement"); testHTML("", "abc\ndef", "abc
def", "Newlines convert to
in white-space:pre element"); testHTML("", "abc\rdef", "abc
def", "CRs convert to
in non-white-space:pre elements"); testHTML("", "abc\rdef", "abc
def", "CRs convert to
inelement"); testHTML("", "abc\r\ndef", "abc
def", "Newline/CR pair converts to
in non-white-space:pre element"); testHTML("", "abc\n\ndef", "abc
def", "Newline/newline pair converts to two
s in non-white-space:pre element"); testHTML("", "abc\r\rdef", "abc
def", "CR/CR pair converts to two
s in non-white-space:pre element"); testHTML("", "abc\rdef", "abc
def", "CRs convert to
in white-space:pre element"); testText("", "abc", "abc>def", "abc>def", "> preserved"); testText(" ", "abc&", "abc&", "& preserved"); testText("", "abc\"def", "abc\"def", "\" preserved"); testText("", "abc\'def", "abc\'def", "\' preserved"); testHTML("