W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2009

how can I disable <style> element's movement?

From: ʯ <shirui@comsenz.com>
Date: Fri, 18 Sep 2009 12:54:23 +0800
To: "html-tidy" <html-tidy@w3.org>
Message-ID: <200909181254233496680@comsenz.com>
input:

<div>
<style>
xxx
</style>
</div>

tidy output:

<html>
<head>
<style>
xxx
</style>
</head>
<body>
<div></div>
</body>
</html>

but I want this:

<html>
<head>
</head>
<body>
<div>
<style>
xxx
</style>
</div>
</body>
</html>

How can I disable the style element's movement? Thanks a lot!
Received on Friday, 18 September 2009 06:47:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT