Generate a larger amount of text before substr.
Merge pull request #57 from Zizaco/text-fix

Generate a larger amount of text before substr.