Enum HtmlHyperlinkMode
Controls how HtmlSink renders a text run that carries a
HyperlinkTarget. In both modes the visible
link text is always emitted unchanged (visible/copyable first, matching the ANSI link philosophy);
the mode only decides whether an
<a href> is additionally emitted.public enum HtmlHyperlinkMode
Fields
Anchor = 1- When a non-empty, safe
HyperlinkTargetis present, wrap the visible text in<a href="…">(thehrefis sanitized and attribute-escaped). An empty or unsafe target falls back to Text rendering. Text = 0- Render the link text visibly as styled text only (link classes/styles); never emit
<a href>. The conservative, documentation-friendly default.