support for pretty html output