id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 8745,"language_attributes always check for 'xhtml', never for 'html'",zekrap,,"To choose between ""lang="" or ""xml:lang="", the language_attributes checks both 'html_type' option and doctype received as argument. The bug is that it checks twice whether doctype equals 'xhtml', instead of testing the opposite case. I made a patch to change the first test (for html-like ""lang="" case) to check doctype == 'html' (well, maybe quicker to remove the 'x' than apply a patch, though ;-) ).",defect (bug),closed,normal,2.7.1,Template,2.7,normal,fixed,language_attributes html xhtml doctype,,