%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



--~--~---------~--~----~------------~-------~--~----~
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