Update text_handling.lua

accidently overwrote this change earlier
Merge pull request #424 from nitrous24/patch-1

Update text_handling.lua