Fixes output builder

Verify also that code printing html/xml content is not interpreted
client side.