fix handling of textarea tag