'Returns html required for rendering XModule.'

def get_html(self):

    if self.system.anonymous_student_id:
        return self.data.replace('%%USER_ID%%', self.system.anonymous_student_id)
    return self.data
