Moved html close tag to the tail of buffer.