tma / html_helpers

Rails Plugin with Helpers to en- and decode HTML Entities
Other
12 stars 5 forks source link

Uninitialized Constant Fix #4

Open jzellman opened 13 years ago

jzellman commented 13 years ago

Hi,

I had html_helpers 1.1.3 installed as a gem in a rails 2 project. #decode_entities would error with "uninitialized constant HTML::EntityCoder::HTMLEntities"

It looks like htmlentities is being loaded in init.rb however init.rb is not used with gems.

I ran the unit tests which also failed. So I added "require htmlentities" to the top of html_helpers.rb

Thanks,

Jeff