Class Scrubyt::SharedUtils
In: lib/scrubyt/utils/shared_utils.rb
Parent: Object

Utilities shared between the other utility classes (XPathUtils, SimpleExampleLookup,…)

Methods

Constants

ENTITIES = { 'quot' => '"', 'apos' => "'", 'amp' => '&', 'lt' => '<', 'gt' => '>', 'nbsp' => ' '}   Entities to replace - need to make this more complete, or install htmlentities or similar package

Public Class methods

Entry point for finding the elements specified by examples

Unescape the entities in the HTML!

Public Instance methods

[Validate]