What about change default mode from XHTML to HTML?
Notice: This thread is very old.
- David Grudl
- Nette Core | 8218
Nette generates by default XHTML code. It automatically encloses all empty
(in HTML5 „void“) elements with />
and generates boolean
attributes as selected="selected"
instead of simple
selected
.
You can change this feature in config:
nette:
latte:
xhtml: no
I think XHTML is over and will never come back (I hope!), so we can change default behavior to generate HTML code, do you agree?