Plombir::Check::Html
Shared HTML helpers for the output-based checkers (links,
assets, SEO): reference extraction plus resolving hrefs against
the built dist/ tree with server-identical semantics.
Links owns <a href> navigation; assets owns embedded resources
(img/script/link/source) — a reference reports in exactly
one section.
Constants
Navigable links.
Embedded resources.
Class methods
True for links check must resolve: same-site paths. Skips
schemes (https:, mailto: …), protocol-relative URLs, and
pure fragments.
1-based line containing needle in file, if any.
Resolves an internal reference from the page at
page_output (dist-relative, e.g. "posts/a/index.html) to a
dist-relative target file, or nil when it escapes dist/.
Root-relative references anchor at dist/; relative ones at
the page's directory. Query strings and fragments are dropped.
Every href/src on embedded resources, in document order.