Upgrade rich-text

Fixes #236