Is there an option to keep all whitespace characters?
SF-Simon opened this issue · 1 comments
SF-Simon commented
We have some paragraphs where the user entered blank characters and carriage return characters etc.
But the html will all be lost after being SwiftSoup.parsed
. Only 1 whitespace character remains in each position.
SF-Simon commented
By looking at the source code, I found that clipping can be cancelled as long as prettyPrint
is set to false.
However, this parameter will also invalidate the beautification of HTML nodes.
It is hoped that a separate parameter can be set to act on white space characters.
Thank you.