Fixed handling of textarea fields