Fix last line to use correct sized options.
Ensure to strip only when enabled, and add comments.
Change strip to always default to False like it was in 1.8.
Merge pull request #2166 from matham/text-lastline

Use correct options to finish of markup layout