Fix #2339 (dynamic attributes on textareas)