Fix handling of textarea content.
Merge branch 'controls' into gh-pages