Added support for displaying rst as html #4801