fix input and output when they shows HTML.