So there's no way to do it?
having the empty script tag in other line looks awful to me.. don't
you?

On Jun 11, 1:23 am, Jeffrey Hardy <[EMAIL PROTECTED]> wrote:
> s.ross's self-closing trick will work, but, while self-closing script  
> tags are valid according to the W3C validator (and Safari doesn't  
> seem to mind them), Firefox has a problem with it. It won't load the  
> script. So, if you want your script to load in Firefox, you'll have  
> to go with the empty <script></script> tags.
>
> /Jeff
>
> On 10-Jun-07, at 6:39 PM, s.ross wrote:
>
>
>
>
>
> > %script{:src => "javascripts/prototype.js", :type => "text/
> > avascript"}/
>
> > should do it.
>
> > On Jun 10, 2007, at 3:30 PM, Marze wrote:
>
> >> Hey! is there any way to close inline empty tags, like when you
> >> require a javascript library, ex:
>
> >> %script{:src => "javascripts/prototype.js", :type => "text/
> >> javascript"}
>
> >> output this
>
> >> <script src="javascripts/prototype.js" type="text/javascript">
> >> </script>
>
> >> could be like this?
>
> >> <script src="javascripts/prototype.js" type="text/javascript"></
> >> script>
>
> >> thanx!
> >> marze
>
> > Steve Ross
> > [EMAIL PROTECTED]
> >http://www.calicowebdev.com
>
> --
> Jeffrey Hardy 
> (packagethief)http://unspace.cahttp://beginningrails.comhttp://quotedprintable.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to