Clean up non-raw formatting of _get_rh_doc