No, it's not a bug. You might be misunderstood how html works. html4/5 doesn't need self closing tags (input, img, hr, br etc). xhtml, because is more like a xml based language, will need to have those slashes.

However, xhtml being almost dead, i think you don't have to concern about that

iamntz wrote:No, it's not a bug. You might be misunderstood how html works. html4/5 doesn't need self closing tags (input, img, hr, br etc). xhtml, because is more like a xml based language, will need to have those slashes.

However, xhtml being almost dead, i think you don't have to concern about that

can i make it working the same in all doc-type? just need the self-closing tags...

I'm currently looking for the same - empty elements that close like in XML even though I'm in a HTML5 ("HTML Syntax") document. Other commands like "find closing tag" seem to mess up when I have a document where empty elements are used without trailing '/>'. Not every plugin (and I think not even every part of ZenCoding) knows about all the HTML tags that are empty even though they look open.

I just want to use XML syntax to have a more straightforward workflow (to use a buzz word here). So if you know of a configuration or a way to change ZenCoding such that it closes br img and friends with '/>' even in HTML5 (<!DOCTYPE html>) documents, please let me know.