In Rails, both the javascript_tag and javascript_include_tag render the type attribute as
type="text/javascript"
I need to customize this attribute. Our application uses Slim syntax which makes this a little more difficult.
script src="mathjax_config" type="text/x-mathjax-config"
^ doesn't error but doesn't even include the file
javascript_tag[type="text/x-mathjax-config"] javascript code here
^ throws an error
I'm hoping to avoid breaking the file away from slim.
Ruby version 1.9.3 Rails version 3.2.3