code: def _render_child_fragment(self, child, context, view='student_view'):
          
          try:
              child_fragment = child.render(view, context)
          except NoSuchViewError:
              if child.scope_ids.block_type == 'html' and getattr(self.runtime, 'is_author_mode', False):
                  # html block doesn't support preview_view, and if we use student_view Studio will wrap
                  # it in HTML that we don't want in the preview. So just render its HTML directly:
                  child_fragment = Fragment(child.data)
              else:
                  child_fragment = child.render('student_view', context)
  
          return child_fragment
docs: Helper method to overcome html block rendering quirks