~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/person.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-25 12:34:41 UTC
  • mfrom: (14339.3.11 391780-markdown)
  • Revision ID: launchpad@pqm.canonical.com-20111125123441-5ltnp6fjn34q0kmu
[r=rvb][bug=391780][incr] Markdown markup in project and user home
        pages

Show diffs side-by-side

added added

removed removed

Lines of Context:
2381
2381
        if content is None:
2382
2382
            return None
2383
2383
        elif self.is_probationary_or_invalid_user:
 
2384
            # XXX: Is this really useful?  They can post links in many other
 
2385
            # places. -- mbp 2011-11-20.
2384
2386
            return cgi.escape(content)
2385
2387
        else:
2386
2388
            formatter = FormattersAPI
2387
 
            return formatter(content).text_to_html()
 
2389
            return formatter(content).markdown()
2388
2390
 
2389
2391
    @cachedproperty
2390
2392
    def recently_approved_members(self):