https://bugs.kde.org/show_bug.cgi?id=419935

            Bug ID: 419935
           Summary: Template HTML file is lacking doctype, has not very
                    useful meta tag
           Product: dolphin
           Version: 19.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: pe...@hack-libre.org
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Context Menu → Create New → HTML File…

OBSERVED RESULT

File content is:
<html>
  <head>
    <title></title>
    <meta content="">
    <style></style>
  </head>
  <body></body>
</html>


EXPECTED RESULT

File content should be:
<!DOCTYPE html>
<html>
  <head lang="">
    <meta charset="utf-8">
    <title></title>
    <style></style>
  </head>
  <body></body>
</html>

Note that I also added a lang attribute to head, as recommended here:
https://www.w3.org/International/questions/qa-html-language-declarations


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to