Module: Lilac::CLI::HtmlEmitter
- Defined in:
- lib/lilac/cli/build/html_emitter.rb
Overview
Pure HTML string-rendering helpers shared by Builder (bundle file
emission) and PageCompiler (per-page injection). Keeping these as
module functions makes the dependency direction obvious (stateless
utilities) and trims surface area from the larger classes.
Class Method Summary collapse
- .escape_attr(value) ⇒ Object
-
.inject_before_body_close(html, injection) ⇒ Object
Splice text just before the page's