see title tgui_input_text already html_encodes the result by default, so we were double-encoding our text and causing it to look garbage