code: private void writeEndTag(String tag) throws IOException {
  		writer.write('<');
  		writer.write('/');
  		writer.write(tag);
  		writer.write('>');
  	}
docs: Write end tag for non-empty elements. At this point element start tag and its content is already wrote to underlying
  writer and just need to close it with, e.g. <em>&lt/div&gt;</em>.
  
  @param tag tag name
  @throws IOException if underlying writer fails to write.