MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / RehtmlOptions

Interface RehtmlOptions

src/rehtml/index.ts:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14export { BLOCK_TAGS, RAW_TEXT_TAGS, VOID_TAGS } from "./constants";
15
16export interface RehtmlOptions {
17 /** Strip trailing incomplete tags (default: true) */
18 stripIncomplete?: boolean;
19 /** Auto-close unclosed tags for rendering (default: true) */
20 closeTags?: boolean;
21 /** Split into stable/live blocks (default: true) */
22 splitBlocks?: boolean;
23}
24
25export interface RehtmlResult {
26 /** HTML ready for rendering (repaired, not yet sanitized) */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected