I've moved your question to the InDesign EPUB forum.
EXACTLY what version of CS6 are you running? There was a bug in an early version of CS6 that prevented either space before or space after from being recognized (I forget which). It was fixed in a later version.
What does it say in the About InDesign dialog?