Confluence to XWiki migration

I moved our spaces from Confluence to XWiki but when trying to check the articles/pages on XWiki, I realized that some of the articles have text squeezed into each other. Basically, it doesn’t look exactly then same as it looks on Confluence. Is there any way to configure while doing the migration (maybe I missed it at some point), so that article content and its text stay the same after moving it into XWiki. Thank you so much.