Encode rendered user input