Merge recent changes from phprtflite/PHPRtfLite
Avoid emitting a line break on writeText(''); calls