Closed axaluss closed 12 years ago
Cool, thanks for the feedback, I will take a look at.
Reproduced...
<html>
<head>
<script type='text/javascript'>
</script>
</head>
<body>
</body>
</html>
%html
%head
:javascript
%body
Should Equal
%html
%head
:javascript
%body
I wonder if it is an empty script tag, should we just strip it out all together? Why would you have an empty script tag?
it can damage your html output maybe not only during development and slow you down. are there other tags which dont like to be empty?
My guess it would be the same for the
<style>
tag as well.
Fixed in html2haml gem..
<script src=''>
</script>
</head>
<body>
%script{:src => ""}
%body/
empty tags are not converted properly