allow strip_whitespace to act on rst and ignore mpmath