NataBilya / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

html:**>head #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
html:4t>(head>link:css)+body

becomes

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title></title>
</head>
<body>
    <head>
        <link rel="stylesheet" type="text/css" href="style.css" media="all" />
    </head><body></body>
</body>
</html>

but

html>(head>link:css)+body

works as expected.

Original issue reported on code.google.com by mkTUMS on 4 Mar 2010 at 2:55

GoogleCodeExporter commented 8 years ago
It's not a bug. html:4t is a snippet with ${child} variable set in <body> tag 
and everything is outputted as it 
should be.

In your case you have to create your own html:* snippets without <head> and 
<body> sections in it.

Original comment by serge....@gmail.com on 4 Mar 2010 at 3:04