~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/worksheet/rst.py

  • Committer: Nick Chadwick
  • Date: 2009-03-10 12:46:34 UTC
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090310124634-nfylu5t95ox63bh9
Removed XML from database. RST now generates a full xml document, not
just a fragment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1697
1697
            writer=CustomizedHTMLWriter(), reader=CustomizedReader())
1698
1698
        match = _OUTPUT_RE.search(output)
1699
1699
        if match:
1700
 
            return match.group(1)
 
1700
            return "<div>" + match.group(1) + "</div>"
1701
1701
        else:
1702
1702
            raise ValueError('Could not process exercise definition')
1703
1703