diff -r 3b46c662a004 -r 9960d19d66b5 src/eric7/UI/Previewers/PreviewerHTML.py --- a/src/eric7/UI/Previewers/PreviewerHTML.py Tue Dec 06 16:00:06 2022 +0100 +++ b/src/eric7/UI/Previewers/PreviewerHTML.py Tue Dec 06 16:04:58 2022 +0100 @@ -868,7 +868,7 @@ """<html xmlns="http://www.w3.org/1999/xhtml">\n""" ) elif htmlFormat == "html5": - head = """<!DOCTYPE html>\n""" """<html lang="EN">\n""" + head = """<!DOCTYPE html>\n<html lang="EN">\n""" else: head = '<html lang="EN">\n' head += """<head>\n"""