Added a quick output filter to prevent malicious data from breaking the layout