~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-12-03 00:16:28 UTC
  • Revision ID: coles.david@gmail.com-20091203001628-r5157walds8vgubw
Incorporated old faq.txt into new Sphinx docs

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