dt2_cols_escape: Escape/unescape columns content

View source: R/dt2_options.R

dt2_cols_escapeR Documentation

Escape/unescape columns content

Description

Controls whether cell content is HTML-escaped before display.

Usage

dt2_cols_escape(options = list(), cols, escape = TRUE)

Arguments

options

Options list.

cols

Names or indices.

escape

If TRUE (default), HTML special characters are escaped so the raw text is shown. If FALSE, the content is rendered as raw HTML (use with care; only for trusted content).

Value

Updated options.


DT2 documentation built on June 14, 2026, 9:06 a.m.