See [here](https://github.com/ipython/ipython/blob/master/IPython/sphinxext/ipython_directive.py#L809), If they don't know whether there's a space after the colon, neither can I.
The if and checks are defensive so that I don't slice off the first character of the input
by presuming a space.