Quoted By:
I finally figured out the issue with the rentry backup code. When the rentry page content (the text) is stored in a string newlines stored as "\n" (for python \n means go to a new line). And when python was writing the string to a file it was adding another \n. So I had to strip the string of the original \n.
>pic related (before on left, after on right)