Class: HTMLEntities::Encoder

Inherits:
Object
  • Object
show all
Defined in:
lib/sanitizer/htmlentries.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#basic_entity_regexpObject



4
5
6
# File 'lib/sanitizer/htmlentries.rb', line 4

def basic_entity_regexp
  @basic_entity_regexp ||= /[<>'"]|(\&(?!(\w+\;)))/
end