raw text handling - line joining/space trimming algorithm
remove unnecessary trimPrefix/trimSuffix options from rawtext
add todo