Pad: Add missing <head> and <body> tags

The comment "head and body had been removed intentionally" implies
that the tags were causing some sort of problem, but the commit that
removed them (57075d1545) didn't provide
any rationale. I'm assuming it was a mistake.
This commit is contained in:
Richard Hansen 2021-08-02 19:30:43 -04:00
parent 4a1f21ce34
commit d4e74fd038

View file

@ -5,11 +5,10 @@
;
%>
<!doctype html>
<% e.begin_block("htmlHead"); %>
<html class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
<% e.end_block(); %>
<head>
<% e.begin_block("htmlHead"); %>
<% e.end_block(); %>
<title><%=settings.title%></title>
<script>
/*
@ -54,9 +53,8 @@
<link rel="localizations" type="application/l10n+json" href="../locales.json" />
<script type="text/javascript" src="../static/js/vendors/html10n.js?v=<%=settings.randomVersionString%>"></script>
<script type="text/javascript" src="../static/js/l10n.js?v=<%=settings.randomVersionString%>"></script>
<!-- head and body had been removed intentionally -->
</head>
<body>
<% e.begin_block("body"); %>
<!----------------------------->
@ -522,4 +520,5 @@
</script>
<div style="display:none"><a href="/javascript" data-jslicense="1">JavaScript license information</a></div>
<% e.end_block(); %>
</body>
</html>