ExpressionEngine rendering JS code with { } brackets

前端 未结 4 2137
面向向阳花
面向向阳花 2020-12-16 06:16

Is there a way to force expression engine to NOT render items within curly brackets as EE code? The google chart tools uses javascript code that contains curly { } brackets,

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 06:44

    Simply placing curly braces on separate lines didn't work for me for some reason (I'm using EE v2.1.1). But placing a commented line before and after the braces worked. E.g. for my Google Analytics code:

    
    

提交回复
热议问题