~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to pybb/views.py

  • Committer: Holger Rapp
  • Date: 2009-03-26 20:25:08 UTC
  • Revision ID: sirver@kallisto.local-20090326202508-k00gr0k1uoxigrxo
Added smileys to wlmarkdown (wiki,forum,news)

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
        html = mypostmarkup.markup(content, auto_urls=False)
409
409
    elif markup == 'markdown':
410
410
        html = unicode(Markdown(content, safe_mode='escape'))
 
411
        print "html:", html
 
412
 
411
413
 
412
414
    html = urlize(html)
413
415
    return {'content': html}