escape_html function

Escape problematic characters to allow display in HTML

Escape problematic characters to allow display in HTML

Copied from knitr for internal use because it is unexported and CRAN rejects :::

escape_html(x)

Arguments

  • x: a character string to escape
  • Maintainer: Vincent Arel-Bundock
  • License: GPL-3
  • Last published: 2025-02-02