Fixed error in form_textarea helper function

Reverted from GitHub edited version to remove document line end
character.  Good to merge now.