Class: HTMLEntities::Encoder
- Inherits:
-
Object
- Object
- HTMLEntities::Encoder
- Defined in:
- lib/sanitizer/htmlentries.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#basic_entity_regexp ⇒ Object
4 5 6 |
# File 'lib/sanitizer/htmlentries.rb', line 4 def basic_entity_regexp @basic_entity_regexp ||= /[<>'"]|(\&(?!(\#?\w+\;)))/ end |