Occasionaly I run across this sort of thing in printed text:
It just so happens that that is the way…
See what I mean? The same word juxtaposed to itself within a sentence. While it doesn’t cause my heart to stop beating, it often encourages a double-take while reading. The same occurs with other words as well, though I can’t put my finger on another example at the moment. So is it proper grammar? I’m thinkin’ it ain’t.