make sure anchor tags surround their content
commit32c17ec3f45e3a4ecbc80ecd058daa35edcfd697
authorEvan Czaplicki <info@elm-lang.org>
dateThu 1 Aug 2013, 19:45 (13 years ago)
parentdd8843f
runtime/Render/Element.js+1
@@ -18,6 +18,7 @@ function setProps(props, e) {
1818 if (props.href !== '') {
1919 var a = newElement('a');
2020 a.href = props.href;
21+ a.style.display = 'block';
2122 a.appendChild(e);
2223 return a;
2324 }