Existe uma função de conversão ao produzir informações do banco de dados e o espaço de retorno do carro pode ser emitido no estilo original. Este código gera o código como está para a caixa de texto.
A cópia do código é a seguinte:
Functioncc_f_textarea_html_encode (cc_f_t_h_e_str)
Ifnotisnull (cc_f_t_h_e_str) ecc_f_t_h_e_str <> "" então
cc_f_t_h_e_str = substituir (cc_f_t_h_e_str, ">", ">")
cc_f_t_h_e_str = substituir (cc_f_t_h_e_str, "<", "<")
cc_f_t_h_e_str = substituir (cc_f_t_h_e_str, chr (13), "")
cc_f_t_h_e_str = substituir (cc_f_t_h_e_str, chr (10) & ch (10), vbcrlf)
cc_f_t_h_e_str = substituir (cc_f_t_h_e_str, chr (10), vbcrlf)
cc_f_textarea_html_encode = cc_f_t_h_e_str
Endif
Função final