> > On 02/14/2014 03:16 PM, Michael Mraka wrote:
> > > ">" should likely be "/>" otherwise it produce opening tags not self
> > > closed tags.
> > 
> > Actually in HTML5 void tags do not need the slash (it is optional).
> > 
> > http://www.w3.org/TR/html-markup/syntax.html#void-element
> > 
> > "self-closing" as a definition does not exist anymore in HTML5, except
> > for SVG and MathML elements!
> > 
> > We also recently started a discussion about this same topic and decided
> > to stick to a coding standard rule to avoid confusion - namely not using
> > those optional slashes in new code.
> > 
> > I hope you are also fine with that. I was supposed to start a discussion
> > with you in the next days, but this was faster :-)
> 
> I am strongly against it.

Ok, let me go a little deeper than that:

  * standard allows closing of tags,
  * HTML is generated on some places explicitly... are you sure
    it would not lead to state where we would be inconsistent (=bad),
  * in case we switch (and do it properly and completely) it would
    make it much harder to switch to say XHTML if desired,
  * without closing tags it would be like
    those evil old times with wild HTML...
    (not speaking about omitting closing tags...)
  * code that Michael commented on was wrong anyway as it only
    deleted symbol and immediately pended it.

Matej

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to