Added option to disable slash in self-closing tags