I don't remember the appropriate sphinx-compatible format for block code, but check that you are using it.