turn \n into <br> via xslt, not js.