开发者

haml is not converting html

开发者 https://www.devze.com 2023-02-01 07:46 出处:网络
i am using rails 2, and just installed haml. i can use it from the command line just fine, and I added config.gem \"haml\" to environment.rb.

i am using rails 2, and just installed haml. i can use it from the command line just fine, and I added config.gem "haml" to environment.rb.

but when I open the corresponding web page to the view I see "!!! Strict == == == %html{ :xmlns => "http://www.w3.org/1999/xhtml" } %head " as t开发者_StackOverflowext on the page.

What am I doing wrong?


turns out after putting the gem in the environments config file, you need to restart script/server...

0

精彩评论

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