Remove stripTrailingHardline
option in textToDoc
#13220
Merged
stripTrailingHardline
option in textToDoc
#13220