Problem showing hidden form elements with jQuery

Hi, I am working on customization on the new ticket form; the functionality is for showing the custom fields on type task elements, but I am getting textarea closing tags malformed.

This is the snippet.

var textareaElement = jQuery(‘.helpdesk_ticket_ticket_type_picklist_section_’ + dataId);
var contenido = unescapeHTML(textareaElement.html());
var contenidoModificado = contenido.replace(/</textarea>/g, ‘’);

    jQuery('#step2').empty().append(contenidoModificado).show();

This is the result:

&lt/textarea&gt non well formed closing tag.