Body
`. * * All three are the parse writing down what the markup already meant. None of * them loses a character of content, and none of them recurs. * * One deliberate asymmetry: an input with no block-level tag at all — which is * every headline field we have seen — parses to a single paragraph and is * emitted back **without** a `` wrapper. Emitting one would mean that * opening a page and saving it changed every title on it. */ import { type RichTextDoc } from "./doc.ts"; export declare function decodeEntities(s: string): string; /** * Text, escaped for a text node. * * ` ` goes back out as ` ` rather than as a literal byte: it is * invisible in a diff otherwise, and a non-breaking space in a headline is * usually load-bearing — it is what keeps "Astro + Tailwind" off two lines. */ export declare function escapeHtmlText(s: string): string; export declare function fromHtml(html: unknown): RichTextDoc; export declare function toHtml(doc: unknown): string;