Details
Description
Closing </script> tag is swallowed in certain situations when external script reference is added (<script src=""></script>) to the page <head></head> section in Wicket 6.0.0-beta2 and beta3 and SNAPSHOT
Original source code for <head> section:
<head>
<meta charset="utf-8" />
<title>Apache Wicket Quickstart</title>
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:regular,bold' rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" title="Stylesheet" />
<script type="text/javascript" src="http://akuku/something1.js"></script>
<script type="text/javascript" src="http://akuku/something2.js"></script>
<script type="text/javascript" src="http://akuku/something3.js"></script>
<script type="text/javascript" src="akuku/something4.js"></script>
<script type="text/javascript" src="/akuku/something5.js"></script>
<script type="text/javascript" src="akuku/something6.js"></script>
Rendered HTML:
<head>
<meta charset="utf-8" />
<title>Apache Wicket Quickstart</title>
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:regular,bold' rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" title="Stylesheet"/>
<script type="text/javascript" src="http://akuku/something1.js"></script>
<script type="text/javascript" src="http://akuku/something2.js"><script type="text/javascript" src="http://akuku/something3.js"><script type="text/javascript" src="akuku/something4.js"></script><script type="text/javascript" src="/akuku/something5.js"><script type="text/javascript" src="akuku/something6.js"></script>
</head>