docs: def content(self, name, attrs=None, characters=None):
      """Writes an element, some content for the element, and then closes the element, all without
      indentation.
  
      :name: the name of the element
      :attrs: a dict of attributes
      :characters: the characters to write
      """
      with self.no_inner_space(outer=True):
        with self.element(name, attrs):
          if characters:
            self.characters(characters)