enyojs/enyo — Issue #23: Using 'br' as tag for Control causes 2 <br> to be output
Author: ryanjduffy
Created: 2012-02-13 22:09:26+00:00
State: open

enyo.Control.prepareTags checks enyo.Control.selfClosing for an entry matching the tag of the Control. If it finds it, it won't render a closing tag; if not, it does. selfClosing is missing "br" (only contains "img" at the moment) so it renders both an opening and closing BR which gets interpreted (in Chrome at least) as 2 BRs.

seems to be the only one that causes a rendering issue so may not be significant to worry about the others (e.g. hr, link , meta)