test-citeproc:  Fixed code adjusting &#38; in expected results.
Correctly handle delimiters containing newlines.