Fixes issue #136

The method raw_value now checks the whether there
is a RichText and returns that one instead.