dirPagination: Allow space after itemsPerPage

Was throwing an exception if there was a space after itemsPerPage and
before the colon. This should be valid syntax, however.