Fixes output builder

Verify also that code printing html/xml content is not interpreted
client side.
Merge pull request #58 from folieadrien/fixes-output

Fixes output builder