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

« back to all changes in this revision

Viewing changes to ivle/worksheet/rst.py

  • Committer: David Coles
  • Date: 2009-08-02 08:57:44 UTC
  • mto: (1294.2.119 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: coles.david@gmail.com-20090802085744-ig0mr5fcm29ngibv
Show drop down icon for breadcrumbs with a sub-menu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
1
#
3
2
# Natural Language Toolkit: Documentation generation script
4
3
#
1697
1696
            writer=CustomizedHTMLWriter(), reader=CustomizedReader())
1698
1697
        match = _OUTPUT_RE.search(output)
1699
1698
        if match:
1700
 
            return match.group(1)
 
1699
            return "<div>" + match.group(1) + "</div>"
1701
1700
        else:
1702
1701
            raise ValueError('Could not process exercise definition')
1703
1702