Fix r6093: the expand_dir XHR on the server side is not using Fragment generation, so we still need to cut the DOCTYPE out of the response "manually" on the js client side.
Authored by: cboos 2007-10-26
Parent: [r6098]
Child: [r6100]