Hwaro::Utils::HtmlStats
Constants
FILE = "hwaro_stats.json"
RAW_TEXT_TAGS = {"script", "style"}
Raw-text elements: their bodies are not markup, so a < inside a
script (a<b) must not read as a tag.
Class methods
The htmlElements object of a stats file, or nil when the file is
missing, unreadable or not shaped like one.
Instance methods
classes
Sourceids
SourceFold a previously written stats file in (a partial build keeps the
selectors of the pages it did not re-render). A missing or malformed
file adds nothing — and makes the next --cache build render every
page (see valid_file?).
serialize
Sourcetags
Source