Ignore:
Timestamp:
10/11/07 17:38:38 (12 years ago)
Author:
pjotr
Message:

Fixes #1553, it should be that way now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ExerciseMaterial.py

    r2069 r2082  
    168168        """ Send e-mail to a teacher """ 
    169169        putils = getToolByName(self,'plone_utils') 
     170        letool = getToolByName(self,'lemill_tool') 
    170171        mhost = putils.getMailHost() 
    171172        mbody = u'' 
     
    244245                    my_answer_dict['exercise_%s_answer_%s' % (i,it)]=my_answer 
    245246                exercise_text=self.replace_blanks_with_your_answers(chapter_text, my_answer_dict, i) 
     247                exercise_text=letool.html_to_text(exercise_text) 
    246248                mbody += _(u""" 
     249Answer entered by student is in the square brackets. The correct answer is in the logical brackets. 
    247250In the following fill-in-the-blanks exercise your answers and correct answers were: 
    248251%(exercise_text)s 
Note: See TracChangeset for help on using the changeset viewer.