Sha256: 6dd12d36b28391da25399f811247151343185ab4195ad981c433343640f73f57
Contents?: true
Size: 171 Bytes
Versions: 2
Compression:
Stored size: 171 Bytes
Contents
# encoding: utf-8 class HTMLEntities class Encoder #:nodoc: def basic_entity_regexp @basic_entity_regexp ||= /[<>'"]|(\&(?!(\#?\w+\;)))/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sanitizer-0.2.1 | lib/sanitizer/htmlentries.rb |
sanitizer-0.2.0 | lib/sanitizer/htmlentries.rb |