(parser, unused_token)
return DivChecksumNode(id_nodes, body_nodes)
Wraps HTML in a div with its checksum as an attribute.
Wraps HTML in a div with its checksum as an attribute.
Wraps HTML in a div with its checksum as an attribute .
def DoDivChecksumTag(parser, unused_token):
  """Wraps HTML in a div with its checksum as an attribute."""

  id_nodes = parser.parse(('divbody',))
  parser.delete_first_token()
  body_nodes = parser.parse(('endchecksummed_div',))
  parser.delete_first_token()
  return DivChecksumNode(id_nodes, body_nodes)
def DoDivChecksumTag ( parser , unused_token ) : id_nodes = parser . parse ( ( 'divbody' , ) ) parser . delete_first_token ( ) body_nodes = parser . parse ( ( 'endchecksummed_div' , ) ) parser . delete_first_token ( ) return DivChecksumNode ( id_nodes , body_nodes )