开发者

javascript_include_tag output safe html

I've updated http://tetalab.org/ with Refi开发者_C百科neryCMS 1.0.8, and now, our stylesheets and javascripts are outputted as safe html, breaking anything on the site.

Exemple of code outputting safe html:

<%= javascript_include_tag 'modernizr-min' %>

Code found in html source:

&lt;script src=&quot;/javascripts/modernizr-min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

Could someone provide some tips about this issue?


This is likely because you're using refinerycms-theming plugin.

This plugin does bad things and is not recommended

I think if you removed that the problem would go away :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜