Code: Select all
doctype
<head>
<some meta tags />
<script> some script </script>
</head>
<body>
<some html code />
<script> some more script on editor page </script>
<some mode html code />
</body>
</html>
I suggest to remove those scripts. Use data attributes for variables that rely on template data and external JavaScript for the rest.
For example, instead of
Code: Select all
<script> var jump_page = 'Enter the page number you wish to go to:'; </script>
Code: Select all
<body data-lang-jump-page="Enter the page number you wish to go to:">
Ticket: http://tracker.phpbb.com/browse/PHPBB3-11795
PR: https://github.com/phpbb/phpbb3/pull/1666