Blob Blame Raw


class HtmlBase:
  def make_link(self, answer, path, title = '', htmlcontent = ''):
    assert(not title or not htmlcontent )
    return '<a href="%s">%s%s</a>' \
         % ( answer.request.get_urlpath_escaped(path), answer.te(title), htmlcontent)