Fix htmlentities version for ruby 1.8.7 support

htmlentities 4.3.2+ doesn't support ruby 1.8.x
Merge pull request #221 from karlhorky/patch-1

Fix htmlentities version for ruby 1.8.7 support