mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-15 10:44:41 -04:00
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:
parent
4a1f21ce34
commit
d4e74fd038
1 changed files with 6 additions and 7 deletions
|
@ -5,11 +5,10 @@
|
||||||
;
|
;
|
||||||
%>
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
|
||||||
<% e.begin_block("htmlHead"); %>
|
|
||||||
<html class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
|
<html class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
|
||||||
<% e.end_block(); %>
|
<head>
|
||||||
|
<% e.begin_block("htmlHead"); %>
|
||||||
|
<% e.end_block(); %>
|
||||||
<title><%=settings.title%></title>
|
<title><%=settings.title%></title>
|
||||||
<script>
|
<script>
|
||||||
/*
|
/*
|
||||||
|
@ -54,9 +53,8 @@
|
||||||
<link rel="localizations" type="application/l10n+json" href="../locales.json" />
|
<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/vendors/html10n.js?v=<%=settings.randomVersionString%>"></script>
|
||||||
<script type="text/javascript" src="../static/js/l10n.js?v=<%=settings.randomVersionString%>"></script>
|
<script type="text/javascript" src="../static/js/l10n.js?v=<%=settings.randomVersionString%>"></script>
|
||||||
|
</head>
|
||||||
<!-- head and body had been removed intentionally -->
|
<body>
|
||||||
|
|
||||||
<% e.begin_block("body"); %>
|
<% e.begin_block("body"); %>
|
||||||
|
|
||||||
<!----------------------------->
|
<!----------------------------->
|
||||||
|
@ -522,4 +520,5 @@
|
||||||
</script>
|
</script>
|
||||||
<div style="display:none"><a href="/javascript" data-jslicense="1">JavaScript license information</a></div>
|
<div style="display:none"><a href="/javascript" data-jslicense="1">JavaScript license information</a></div>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue