[dolphin] [Bug 419935] New: Template HTML file is lacking doctype, has not very useful meta tag

ariasuni bugzilla_noreply at kde.org
Sat Apr 11 01:44:42 BST 2020


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-null at kde.org
          Reporter: perso at hack-libre.org
                CC: kfm-devel at 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 on the CC list for the bug.



More information about the kfm-devel mailing list