コード例 #1
0
 def rst(self):
     text = request.POST['data']
     if c.content is None:
         abort(400)
     text = rst2html(text)
     c.content = text
     return render('/util/response.html')
コード例 #2
0
 def html_content(self):
     return rst2html(self.content)
コード例 #3
0
 def html_summary(self):
     return rst2html(self.summary)
コード例 #4
0
ファイル: map.py プロジェクト: naskoro/horosh
 def html_content(self):
     return rst2html(self.content)
コード例 #5
0
ファイル: map.py プロジェクト: naskoro/horosh
 def html_summary(self):
     return rst2html(self.summary)