etc: I typed 'img' and press Tab key,the result code is '<img src="" alt="">',but is not '<img src="" alt="" />',have no the '/',some other tag like 'br','hr' is also like this.
this is a bug of the plugin?or what?
iamntz wrote:Probably because zencoding is focused more on html and not on xhtml?
What's your doctype? html5 or xhtml?
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
iamntz wrote:Not sure if that's possible. Out of curiosity: why do you need self closing tags?
Return to Plugin Announcements
Users browsing this forum: No registered users and 4 guests