示例#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)