Standardize the meta, link, img, input, br, and hr tag closings

bzcomputers

Well-known member
Affected version
2.3.2
It seems even in XenForo 2.3+ there is a mixed use of both the HTML5 standard closing > and the XHTML self closing /> for meta and link tags. It appears all or most img, input, br and hr tags are also still using the XHTML self closing /> backslash.

Assuming since there is a combination of both closings being used currently on the same page there is likely no XHTML parsing going on, nor an attempt to stay compatible with older browsers that may not recognize the HTML5 standard, so the HTML5 standard closing > without the self-closing slash should be good to use now sitewide for all meta, link, img, input, br and hr tags.

XenForo has already moved onto the HTML5 standard for element attributes already.
 
Back
Top Bottom