// Prints an HTML table built from a template, with every value escaped.
//
// nikaia run
//
// | Ada | fine |
| a<b & c | …
//
// Shows: a `dsl html` template, a `` loop inside it, and `html::Raw` for
// markup the program built itself.
//
// A package: `nikaia run` in this directory runs it, and `nikaia test` checks
// what it prints against `tests/` (ADR-269 D13).
use std::html
pub struct Row {
name: String,
note: String,
shade: String,
}
// Every `{…}` hole in a template is escaped, always; there is no way to turn
// that off. A hole is only allowed where escaping is enough: text, or a quoted
// attribute like `class="…"`. In a `