def render(self): print("render") if self.is_rest(): self.html = mark_safe( pubmed_links( recross( markdown( reST( negle( hyper( self.text + " <b><a href='/data/entry/update/%s'>o</a></b>" % self.slug))))))) self.brief_html = mark_safe( pubmed_links( recross(markdown(reST(negle(hyper(self.brief()))))))) else: self.html = mark_safe( pubmed_links( recross( hyper( markdown( self.text + " <b><a href='/data/entry/update/%s'>o</a></b>" % self.slug))))) self.brief_html = mark_safe( pubmed_links(recross(hyper(markdown(self.brief())))))
def render(self): print("render") if self.is_rest(): self.html = mark_safe(pubmed_links(recross(markdown(reST(negle(hyper(self.text))))))) self.brief_html = mark_safe(pubmed_links(recross(markdown(reST(negle(hyper(self.brief()))))))) else: self.html = mark_safe(pubmed_links(recross(hyper(markdown(self.text))))) self.brief_html = mark_safe(pubmed_links(recross(hyper(markdown(self.brief())))))
def render(self): print("render") if self.is_rest(): self.html = mark_safe(pubmed_links(recross(markdown(reST(negle(hyper(self.text + " <b><a href='/data/entry/update/%s'>o</a></b>" % self.slug))))))) self.brief_html = mark_safe(pubmed_links(recross(markdown(reST(negle(hyper(self.brief()))))))) else: self.html = mark_safe(pubmed_links(recross(hyper(markdown(self.text + " <b><a href='/data/entry/update/%s'>o</a></b>" % self.slug))))) self.brief_html = mark_safe(pubmed_links(recross(hyper(markdown(self.brief())))))